diff options
author | Stefan Hajnoczi <stefanha@redhat.com> | 2014-05-08 16:34:41 +0200 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2014-06-04 09:56:11 +0200 |
commit | 6ee50af24b1478452fbbfc1cd8d78227c0e91cde (patch) | |
tree | 391c482cb80f565ab248dad2af0c084d43de377b /vl.c | |
parent | 63f0f45f2e89b60ff8245fec81328ddfde42a303 (diff) | |
download | qemu-6ee50af24b1478452fbbfc1cd8d78227c0e91cde.zip |
gluster: use BlockDriverState's AioContext
Drop the assumption that we're using the main AioContext. Use
aio_bh_new() instead of qemu_bh_new().
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: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'vl.c')
0 files changed, 0 insertions, 0 deletions