diff options
author | Tejun Heo <tj@kernel.org> | 2009-04-23 02:05:17 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-04-28 05:37:33 (GMT) |
commit | a538cd03be6f363d039daa94199c28cfbd508455 (patch) | |
tree | 47d327e3339f5f07c4f4386537fab526310344a7 /block/cfq-iosched.c | |
parent | db2dbb12dc47a50c7a4c5678f526014063e486f6 (diff) | |
download | linux-fsl-qoriq-a538cd03be6f363d039daa94199c28cfbd508455.tar.xz |
block: merge blk_invoke_request_fn() into __blk_run_queue()
__blk_run_queue wraps blk_invoke_request_fn() such that it
additionally removes plug and bails out early if the queue is empty.
Both extra operations have their own pending mechanisms and don't
cause any harm correctness-wise when they are done superflously.
The only user of blk_invoke_request_fn() being blk_start_queue(),
there isn't much reason to keep both functions around. Merge
blk_invoke_request_fn() into __blk_run_queue() and make
blk_start_queue() use __blk_run_queue() instead.
[ Impact: merge two subtly different internal functions ]
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions