search for: cbdkit_async_reply_read

Displaying 4 results from an estimated 4 matches for "cbdkit_async_reply_read".

2018 Jan 19
2
Re: [nbdkit PATCH v2 13/13] RFC: plugins: Add callbacks for FUA semantics
...c guarantees it will call an appropriate async_reply function. /* call for completion of successful async_pwrite, async_flush, async_trim, or async_zero */ extern CBDKIT_CXX_LANG_C int cbdkit_async_reply (void *op); /* call for complete of successful async_pread */ extern CBDKIT_CXX_LANG_C int cbdkit_async_reply_read (void *op); /* call for completion of any async operation with error */ extern CBDKIT_CXX_LANG_C int cbdkit_async_reply_error (void *op, uint32_t error); If there is any interest in supporting async ops in the next api version I am able to share the entire modified nbdkit (cbdkit) source that we...
2018 Jan 19
2
Re: [nbdkit PATCH v2 13/13] RFC: plugins: Add callbacks for FUA semantics
...bdkit source to our github at https://github.com/dev-cloudbd/cbdkit The relevant files are include/cbdkit-plugin.h src/connections.c src/plugins.c Specifically, the connections.c functions recv_request send_reply and the plugins.c functions plugin_pread plugin_pwrite cbdkit_async_reply cbdkit_async_reply_read cbdkit_async_reply_error On Fri, Jan 19, 2018 at 12:05 PM, Eric Blake <eblake@redhat.com> wrote: > On 01/19/2018 10:56 AM, Shaun McDowell wrote: > > > Limitation: The kernel will (with today's default settings) typically be > > willing to send up to 128 requests of 12...
2018 Jan 19
0
Re: [nbdkit PATCH v2 13/13] RFC: plugins: Add callbacks for FUA semantics
...ppropriate async_reply function. > > /* call for completion of successful async_pwrite, async_flush, > async_trim, or async_zero */ > extern CBDKIT_CXX_LANG_C int cbdkit_async_reply (void *op); > /* call for complete of successful async_pread */ > extern CBDKIT_CXX_LANG_C int cbdkit_async_reply_read (void *op); > /* call for completion of any async operation with error */ > extern CBDKIT_CXX_LANG_C int cbdkit_async_reply_error (void *op, uint32_t > error); > > If there is any interest in supporting async ops in the next api version I > am able to share the entire modified...
2018 Jan 19
16
[nbdkit PATCH v2 00/13] Add filters + FUA support to nbdkit
A combination of the work that both Rich and I have been doing lately, where filters use only the new API with flags on every command that the client can send over the wire (we can then add support for more flags in nbdkit without having to add new callbacks, as NBD adds more flags upstream). Eric Blake (4): protocol: Split flags from cmd field in requests backend: Pass flags argument through