summaryrefslogtreecommitdiff
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2017-11-02 18:24:34 +0300
committerJens Axboe <axboe@kernel.dk>2017-11-04 21:38:40 +0300
commitb0850297c749ea79a5717d597931366b3d7f4b09 (patch)
treeb22dba5d09cac0a46d5144adbd191bb732b43fcc /block/blk-core.c
parent9c71c83c857e7a84a5be5a56ea88da7098f51db8 (diff)
downloadlinux-b0850297c749ea79a5717d597931366b3d7f4b09.tar.xz
block: pass 'run_queue' to blk_mq_request_bypass_insert
Block flush need this function without running the queue, so add a parameter controlling whether we run it or not. Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 223f32826e62..b8d1aa2d1008 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -2397,7 +2397,7 @@ blk_status_t blk_insert_cloned_request(struct request_queue *q, struct request *
* bypass a potential scheduler on the bottom device for
* insert.
*/
- blk_mq_request_bypass_insert(rq);
+ blk_mq_request_bypass_insert(rq, true);
return BLK_STS_OK;
}