Skip to content

Fix qemu_aio_flush callers

Kevin Wolf qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4block: Improve bdrv_aio_co_cancel_emblock.c+18 -10 replies
2/4megasas: Use bdrv_drain_all instead of qemu_aio_flushhw/megasas.c+1 -10 replies
3/4qemu-io: Use bdrv_drain_all instead of qemu_aio_flushqemu-io.c+1 -10 replies
4/4aio: Get rid of qemu_aio_flush()async.c block/commit.c block/mirror.c +3 more+5 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] Fix qemu_aio_flush callers

This series has two patches that fixes current qemu_aio_flush() callers, which should call bdrv_drain_all() instead. The other two patches are for changing the coroutine request cancellation to waiting for a single request (Paolo didn't want to change this to bdrv_drain_all()) and removing qemu_aio_flush() altogether in order to avoid future misuse.

Kevin Wolf (4):
block: Improve bdrv_aio_co_cancel_em
megasas: Use bdrv_drain_all instead of qemu_aio_flush
qemu-io: Use bdrv_drain_all instead of qemu_aio_flush
aio: Get rid of qemu_aio_flush()

 async.c        |    5 -----
 block.c        |   19 ++++++++++++++++++-
 block/commit.c |    2 +-
 block/mirror.c |    2 +-
 block/stream.c |    2 +-
 hw/megasas.c   |    2 +-
 main-loop.c    |    5 -----
 qemu-aio.h     |    9 ++-------
 qemu-io.c      |    2 +-
 9 files changed, 25 insertions(+), 23 deletions(-)
Signature · 1 line
1.7.6.5