| Submitter | Kevin Wolf |
|---|---|
| Date | Nov. 13, 2012, 3:51 p.m. |
| Message ID | <1352821889-24150-4-git-send-email-kwolf@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/198711/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/qemu-io.c b/qemu-io.c index 1ad7d3a..92cdb2a 100644 --- a/qemu-io.c +++ b/qemu-io.c @@ -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; }
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> --- qemu-io.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)