Skip to content
Snippets Groups Projects
Commit 986c28d6 authored by Andrea Arcangeli's avatar Andrea Arcangeli Committed by Christoph Hellwig
Browse files

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: default avatarAndrea Arcangeli <aarcange@redhat.com>
Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarKevin Wolf <kwolf@redhat.com>
parent e19252d3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment