]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5f0d890938a561e13f1778b26baa821b72da50e5
treea7e51d903c400d0925f87be5f3069a5a44e0af24
parent1b26cc3cac49e7952842dee6f3701e24700ab435
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