aboutsummaryrefslogtreecommitdiff
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
parent9562ad9ab36df7ccef920d119f3b5100025db95f (diff)
parentf992ae801a7dec34a4ed99a6598bbbbfb82af4fb (diff)
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 da697936d22..f6587111640 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;