diff options
author | Liu Ping Fan <qemulist@gmail.com> | 2013-07-16 12:28:58 +0800 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2013-07-19 12:29:21 +0800 |
commit | dcc772e2f2b7c2a68644133fea2b874f6751a57b (patch) | |
tree | 4082fc020fff1669f1e81a70fe27921e6b393e55 /block/vvfat.c | |
parent | 9154b02c53bb6685797c973fcdbec51c4714777d (diff) |
QEMUBH: make AioContext's bh re-entrant
BH will be used outside big lock, so introduce lock to protect
between the writers, ie, bh's adders and deleter. The lock only
affects the writers and bh's callback does not take this extra lock.
Note that for the same AioContext, aio_bh_poll() can not run in
parallel yet.
Signed-off-by: Liu Ping Fan <pingfank@linux.vnet.ibm.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'block/vvfat.c')
0 files changed, 0 insertions, 0 deletions