block: add blk_run_queue_async
authorChristoph Hellwig <hch@infradead.org>
Mon, 18 Apr 2011 09:41:33 +0000 (11:41 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Mon, 18 Apr 2011 09:41:33 +0000 (11:41 +0200)
commit24ecfbe27f65563909b14492afda2f1c21f7c044
treea7e51d903c400d0925f87be5f3069a5a44e0af24
parent4521cc4ed5173f92714f6999a69910c3385fed68
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>
block/blk-core.c
block/blk-exec.c
block/blk-flush.c
block/blk.h
block/cfq-iosched.c
block/elevator.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_transport_fc.c
include/linux/blkdev.h