commit | 986c28d655dc9196c9c426c667c1764bd3d6d5bd | [log] [tgz] |
---|---|---|
author | Andrea Arcangeli <aarcange@redhat.com> | Mon Jun 15 13:52:27 2009 +0200 |
committer | Christoph Hellwig <hch@brick.lst.de> | Mon Jun 15 13:52:27 2009 +0200 |
tree | c617fd5bc12a7c417b0827af64cb016f718934ad | |
parent | e19252d32c45e92c919109ec32616382eb2afe6b [diff] |
fix qemu_aio_flush qemu_aio_wait by invoking the bh or one of the aio completion callbacks, could end up submitting new pending aio, breaking the invariant that qemu_aio_flush returns only when no pending aio is outstanding (possibly a problem for migration as such). Signed-off-by: Andrea Arcangeli <aarcange@redhat.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Kevin Wolf <kwolf@redhat.com>