search for: async_pread

Displaying 5 results from an estimated 5 matches for "async_pread".

2017 Feb 20
1
Re: Fwd: nbdkit async
The concern is a client is blocked while processing a request. The nbdkit server design requires a thread per request being processed regardless of the number of connections or clients. We want to run 1000's of requests in parallel without needing a thread at nbdkit layer per request in flight. Our plugin layer is built around boost asio and a few threads in a worker pool running an io
2018 Jan 19
2
Re: [nbdkit PATCH v2 13/13] RFC: plugins: Add callbacks for FUA semantics
...offset); int (*pwrite) (void *handle, const void *buf, uint32_t count, uint64_t offset); int (*flush) (void *handle); int (*trim) (void *handle, uint32_t count, uint64_t offset); int (*zero) (void *handle, uint32_t count, uint64_t offset, int may_trim); int errno_is_preserved; void (*async_pread) (void *op, void *handle, void *buf, uint32_t count, uint64_t offset); void (*async_pwrite) (void *op, void *handle, const void *buf, uint32_t count, uint64_t offset, int fua); void (*async_flush) (void *op, void *handle); void (*async_trim) (void *op, void *handle, uint32_t count, uint64_t o...
2018 Jan 19
0
Re: [nbdkit PATCH v2 13/13] RFC: plugins: Add callbacks for FUA semantics
...const void *buf, uint32_t count, uint64_t > offset); > int (*flush) (void *handle); > int (*trim) (void *handle, uint32_t count, uint64_t offset); > int (*zero) (void *handle, uint32_t count, uint64_t offset, int may_trim); > > int errno_is_preserved; > > void (*async_pread) (void *op, void *handle, void *buf, uint32_t count, > uint64_t offset); > void (*async_pwrite) (void *op, void *handle, const void *buf, uint32_t > count, uint64_t offset, int fua); > void (*async_flush) (void *op, void *handle); > void (*async_trim) (void *op, void *handle, u...
2018 Jan 19
2
Re: [nbdkit PATCH v2 13/13] RFC: plugins: Add callbacks for FUA semantics
...> > offset); > > int (*flush) (void *handle); > > int (*trim) (void *handle, uint32_t count, uint64_t offset); > > int (*zero) (void *handle, uint32_t count, uint64_t offset, int > may_trim); > > > > int errno_is_preserved; > > > > void (*async_pread) (void *op, void *handle, void *buf, uint32_t count, > > uint64_t offset); > > void (*async_pwrite) (void *op, void *handle, const void *buf, uint32_t > > count, uint64_t offset, int fua); > > void (*async_flush) (void *op, void *handle); > > void (*async_trim) (...
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