diff options
| author | Stefan Hajnoczi | 2014-05-08 16:34:41 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi | 2014-06-04 09:56:11 +0200 |
| commit | 6ee50af24b1478452fbbfc1cd8d78227c0e91cde (patch) | |
| tree | 391c482cb80f565ab248dad2af0c084d43de377b /block/iscsi.c | |
| parent | curl: implement .bdrv_detach/attach_aio_context() (diff) | |
| download | qemu-6ee50af24b1478452fbbfc1cd8d78227c0e91cde.tar.gz qemu-6ee50af24b1478452fbbfc1cd8d78227c0e91cde.tar.xz 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 'block/iscsi.c')
0 files changed, 0 insertions, 0 deletions
