]> Git Repo - qemu.git/commit
gluster: use BlockDriverState's AioContext
authorStefan Hajnoczi <[email protected]>
Thu, 8 May 2014 14:34:41 +0000 (16:34 +0200)
committerStefan Hajnoczi <[email protected]>
Wed, 4 Jun 2014 07:56:11 +0000 (09:56 +0200)
commit6ee50af24b1478452fbbfc1cd8d78227c0e91cde
tree391c482cb80f565ab248dad2af0c084d43de377b
parent63f0f45f2e89b60ff8245fec81328ddfde42a303
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 <[email protected]>
Signed-off-by: Stefan Hajnoczi <[email protected]>
block/gluster.c
This page took 0.025028 seconds and 4 git commands to generate.