block: add blk_run_queue_async
Instead of overloading __blk_run_queue to force an offload to kblockd add a new blk_run_queue_async helper to do it explicitly. I've kept the blk_queue_stopped check for now, but I suspect it's not needed as the check we do when the workqueue items runs should be enough. Signed-off-by:Christoph Hellwig <hch@lst.de> Signed-off-by:
Jens Axboe <jaxboe@fusionio.com>
Showing
- block/blk-core.c 24 additions, 12 deletionsblock/blk-core.c
- block/blk-exec.c 1 addition, 1 deletionblock/blk-exec.c
- block/blk-flush.c 2 additions, 2 deletionsblock/blk-flush.c
- block/blk.h 1 addition, 0 deletionsblock/blk.h
- block/cfq-iosched.c 3 additions, 3 deletionsblock/cfq-iosched.c
- block/elevator.c 2 additions, 2 deletionsblock/elevator.c
- drivers/scsi/scsi_lib.c 1 addition, 1 deletiondrivers/scsi/scsi_lib.c
- drivers/scsi/scsi_transport_fc.c 1 addition, 1 deletiondrivers/scsi/scsi_transport_fc.c
- include/linux/blkdev.h 1 addition, 1 deletioninclude/linux/blkdev.h
Loading
Please register or sign in to comment