block: add @force_kblockd to __blk_run_queue()
authorTejun Heo <tj@kernel.org>
Wed, 2 Mar 2011 13:48:05 +0000 (08:48 -0500)
committerJens Axboe <jaxboe@fusionio.com>
Wed, 2 Mar 2011 13:48:05 +0000 (08:48 -0500)
commit1654e7411a1ad4999fe7890ef51d2a2bbb1fcf76
treec8071cf8cc1aef9e776697b72aaca5a22a47c3d7
parent291d24f6d9e7bbef81454fade8a44720665c7302
block: add @force_kblockd to __blk_run_queue()

__blk_run_queue() automatically either calls q->request_fn() directly
or schedules kblockd depending on whether the function is recursed.
blk-flush implementation needs to be able to explicitly choose
kblockd.  Add @force_kblockd.

All the current users are converted to specify %false for the
parameter and this patch doesn't introduce any behavior change.

stable: This is prerequisite for fixing ide oops caused by the new
        blk-flush implementation.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Jan Beulich <JBeulich@novell.com>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: stable@kernel.org
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
block/blk-core.c
block/blk-flush.c
block/cfq-iosched.c
block/elevator.c
drivers/scsi/scsi_lib.c
drivers/scsi/scsi_transport_fc.c
include/linux/blkdev.h