summaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2011-10-24 16:24:38 +0200
committerJens Axboe <axboe@kernel.dk>2011-10-24 16:24:38 +0200
commit83157223defe3be490cfea048e83451b6f254216 (patch)
treefa484185d27765a13036bb43ae68d8cdb63f585b /block/blk-core.c
parentblock: Remove the control of complete cpu from bio. (diff)
parentblock: make gendisk hold a reference to its queue (diff)
downloadlinux-83157223defe3be490cfea048e83451b6f254216.tar.xz
linux-83157223defe3be490cfea048e83451b6f254216.zip
Merge branch 'for-linus' into for-3.2/core
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index da697936d220..f65871116404 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1769,6 +1769,8 @@ int blk_insert_cloned_request(struct request_queue *q, struct request *rq)
where = ELEVATOR_INSERT_FLUSH;
add_acct_request(q, rq, where);
+ if (where == ELEVATOR_INSERT_FLUSH)
+ __blk_run_queue(q);
spin_unlock_irqrestore(q->queue_lock, flags);
return 0;