Searched hist:dcc772e2f2b7c2a68644133fea2b874f6751a57b (Results 1 – 1 of 1) sorted by relevance
/openbmc/qemu/include/block/ |
H A D | aio.h | diff dcc772e2f2b7c2a68644133fea2b874f6751a57b Mon Jul 15 23:28:58 CDT 2013 Liu Ping Fan <qemulist@gmail.com> 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>
|