Searched hist:ea800191 (Results 1 – 1 of 1) sorted by relevance
/qemu/block/ |
H A D | rbd.c | ea800191 Thu May 08 14:34:51 GMT 2014 Stefan Hajnoczi <stefanha@redhat.com> rbd: use BlockDriverState's AioContext
Drop the assumption that we're using the main AioContext. Convert qemu_bh_new() to aio_bh_new() and qemu_aio_wait() to aio_poll().
The .bdrv_detach_aio_context() and .bdrv_attach_aio_context() interfaces are not needed since no fd handlers, timers, or BHs stay registered when requests have been drained.
Cc: Josh Durgin <josh.durgin@inktank.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
|