diff options
author | Paolo Bonzini | 2016-10-27 12:49:06 +0200 |
---|---|---|
committer | Fam Zheng | 2016-10-28 15:50:18 +0200 |
commit | 65c1b5b622d09044af3f872240d65e7343f6f83e (patch) | |
tree | 6677708ea342fd5e2b6418a75777c699164bbda2 /block/commit.c | |
parent | block: only call aio_poll on the current thread's AioContext (diff) | |
download | qemu-65c1b5b622d09044af3f872240d65e7343f6f83e.tar.gz qemu-65c1b5b622d09044af3f872240d65e7343f6f83e.tar.xz qemu-65c1b5b622d09044af3f872240d65e7343f6f83e.zip |
iothread: release AioContext around aio_poll
This is the first step towards having fine-grained critical sections in
dataplane threads, which will resolve lock ordering problems between
address_space_* functions (which need the BQL when doing MMIO, even
after we complete RCU-based dispatch) and the AioContext.
Because AioContext does not use contention callbacks anymore, the
unit test has to be changed.
Previously applied as a0710f7995f914e3044e5899bd8ff6c43c62f916 and
then reverted.
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-Id: <1477565348-5458-19-git-send-email-pbonzini@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions