Thanks to Stefan's series from today, I managed to understand what the coroutinization was all about. So I split this part out of the NBD series.
Applies on top of block branch + the other five patches. Paolo Bonzini (3): block: rename bdrv_co_rw_bh block: unify flush implementations block: add bdrv_co_discard and bdrv_aio_discard support Stefan Hajnoczi (1): block: drop redundant bdrv_flush implementation block.c | 236 ++++++++++++++++++++++++++++++----------------------- block.h | 3 + block/blkdebug.c | 6 -- block/blkverify.c | 9 -- block/qcow.c | 6 -- block/qcow2.c | 19 ---- block/qed.c | 6 -- block/raw-posix.c | 18 ---- block/raw.c | 19 ++--- block_int.h | 10 ++- trace-events | 1 + 11 files changed, 152 insertions(+), 181 deletions(-) -- 1.7.6