Re: [Qemu-devel] [PATCH 2/2] block: use aio_bh_schedule_oneshot

2016-10-05 Thread Stefan Hajnoczi
On Mon, Oct 03, 2016 at 06:14:16PM +0200, Paolo Bonzini wrote: > This simplifies bottom half handlers by removing calls to qemu_bh_delete and > thus removing the need to stash the bottom half pointer in the opaque > datum. > > Signed-off-by: Paolo Bonzini > --- > block/archipelago.c | 5 +

[Qemu-devel] [PATCH 2/2] block: use aio_bh_schedule_oneshot

2016-10-03 Thread Paolo Bonzini
This simplifies bottom half handlers by removing calls to qemu_bh_delete and thus removing the need to stash the bottom half pointer in the opaque datum. Signed-off-by: Paolo Bonzini --- block/archipelago.c | 5 + block/blkdebug.c | 7 +-- block/blkverify.c | 8 ++-- bl