Re: [Qemu-devel] [PATCH v2 0/3] coroutinization of flush and discard (split out of NBD series)

2011-10-17 Thread Kevin Wolf
Am 17.10.2011 12:32, schrieb Paolo Bonzini: > This series, applying on top of block branch, enables drivers to use > coroutines for flush and discard. I kept aio_discard after discussing > with Kevin since it should be useful not only for raw-posix-aio, but also > for the userspace iSCSI backend (

Re: [Qemu-devel] [PATCH v2 0/3] coroutinization of flush and discard (split out of NBD series)

2011-10-17 Thread Paolo Bonzini
On 10/17/2011 12:43 PM, Kevin Wolf wrote: Cool, I wasn't aware of that. That's a very nice side effect! Maybe we should write this down in a comment and remove the now unnecessary error handling from callers. Looks like I finally have an excuse to play with Coccinelle! Paolo

Re: [Qemu-devel] [PATCH v2 0/3] coroutinization of flush and discard (split out of NBD series)

2011-10-17 Thread Kevin Wolf
Am 17.10.2011 12:32, schrieb Paolo Bonzini: > This series, applying on top of block branch, enables drivers to use > coroutines for flush and discard. I kept aio_discard after discussing > with Kevin since it should be useful not only for raw-posix-aio, but also > for the userspace iSCSI backend (

[Qemu-devel] [PATCH v2 0/3] coroutinization of flush and discard (split out of NBD series)

2011-10-17 Thread Paolo Bonzini
This series, applying on top of block branch, enables drivers to use coroutines for flush and discard. I kept aio_discard after discussing with Kevin since it should be useful not only for raw-posix-aio, but also for the userspace iSCSI backend (and in general for backends relying on an external l