mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-15 14:13:31 -06:00
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>
This commit is contained in:
parent
b618f4a1c1
commit
e7c8b094c2
1 changed files with 1 additions and 1 deletions
|
@ -1362,7 +1362,7 @@ static int aio_write_f(int argc, char **argv)
|
||||||
|
|
||||||
static int aio_flush_f(int argc, char **argv)
|
static int aio_flush_f(int argc, char **argv)
|
||||||
{
|
{
|
||||||
qemu_aio_flush();
|
bdrv_drain_all();
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue