block: use aio_bh_schedule_oneshot
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 <pbonzini@redhat.com> Reviewed-by:
Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Showing
- block/archipelago.c 1 addition, 4 deletionsblock/archipelago.c
- block/blkdebug.c 1 addition, 6 deletionsblock/blkdebug.c
- block/blkverify.c 2 additions, 6 deletionsblock/blkverify.c
- block/block-backend.c 7 additions, 16 deletionsblock/block-backend.c
- block/curl.c 1 addition, 6 deletionsblock/curl.c
- block/gluster.c 1 addition, 5 deletionsblock/gluster.c
- block/io.c 3 additions, 8 deletionsblock/io.c
- block/iscsi.c 2 additions, 5 deletionsblock/iscsi.c
- block/nfs.c 2 additions, 5 deletionsblock/nfs.c
- block/null.c 1 addition, 4 deletionsblock/null.c
- block/qed.c 2 additions, 4 deletionsblock/qed.c
- block/qed.h 0 additions, 1 deletionblock/qed.h
- block/rbd.c 2 additions, 6 deletionsblock/rbd.c
- blockjob.c 2 additions, 5 deletionsblockjob.c
Loading
Please register or sign in to comment