qemu migration: flush aio as long as there are BH scheduled (pending).
commitf91cd59793c98fa3343aa539fe8601779f965571
authorUri Lublin <uril@qumranet.com>
Sun, 15 Apr 2007 15:17:47 +0000 (15 18:17 +0300)
committerUri Lublin <uril@qumranet.com>
Sun, 15 Apr 2007 15:17:47 +0000 (15 18:17 +0300)
treed23ac1f956822d8e21c21866afc3e23428f0eee5
parent4c01c3f3b345a2e8e99597ae76a53f0c56e8367b
qemu migration: flush aio as long as there are BH scheduled (pending).

Sometimes (specifically when migrating in a middle of a big IO operation) there
    are some (aio-related) BH operations pending.
These pending BH operations are not transferred as state to the destination host
    so we want to make sure all pending operations have been executed.
migration.c