diff options
author | 2009-07-20 14:01:25 -0700 | |
---|---|---|
committer | 2009-07-22 10:58:46 -0500 | |
commit | 6e5d97d01d9da6f295f9888d4b34e29fd737861a (patch) | |
tree | 739b598388705671ebdf206254b0493fd121c957 /aio.c | |
parent | Fake dirty loggin when it's not there (diff) | |
download | qemu-kvm-6e5d97d01d9da6f295f9888d4b34e29fd737861a.tar.gz qemu-kvm-6e5d97d01d9da6f295f9888d4b34e29fd737861a.tar.bz2 qemu-kvm-6e5d97d01d9da6f295f9888d4b34e29fd737861a.zip |
Handle BH's queued by AIO completions in qemu_aio_flush()
Without this, the call to qemu_aio_flush during migration doesn't
actually flush all in-flight SCSI IOs.
Signed-off-by: Nolan Leake <nolan <at> sigbus.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'aio.c')
-rw-r--r-- | aio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,7 +112,7 @@ void qemu_aio_flush(void) LIST_FOREACH(node, &aio_handlers, node) { ret |= node->io_flush(node->opaque); } - } while (ret > 0); + } while (qemu_bh_poll() || ret > 0); } void qemu_aio_wait(void) |