diff options
author | Kevin Wolf <kwolf@redhat.com> | 2012-11-13 16:41:22 +0100 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2012-11-14 18:20:06 +0100 |
commit | e7c8b094c2cf4f7e1609e24efffe3632cba84346 (patch) | |
tree | 9bc4498569cdce67e3e4b47d89d751a543f97f99 /qemu-io.c | |
parent | b618f4a1c15d793c16c159059dd6f173e3e20f3e (diff) |
qemu-io: Use bdrv_drain_all instead of qemu_aio_flush
This is harmless as of today because I/O throttling is not used in
qemu-io, however as soon as .bdrv_drain handlers will be introduced,
qemu-io must be sure to call bdrv_drain_all().
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-io.c')
-rw-r--r-- | qemu-io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1362,7 +1362,7 @@ static int aio_write_f(int argc, char **argv) static int aio_flush_f(int argc, char **argv) { - qemu_aio_flush(); + bdrv_drain_all(); return 0; } |