diff options
author | Ming Lei <ming.lei@redhat.com> | 2017-11-02 23:24:34 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-11-04 12:38:40 -0600 |
commit | b0850297c749ea79a5717d597931366b3d7f4b09 (patch) | |
tree | b22dba5d09cac0a46d5144adbd191bb732b43fcc /block/blk-core.c | |
parent | 9c71c83c857e7a84a5be5a56ea88da7098f51db8 (diff) | |
download | linux-b0850297c749ea79a5717d597931366b3d7f4b09.tar.gz linux-b0850297c749ea79a5717d597931366b3d7f4b09.tar.bz2 linux-b0850297c749ea79a5717d597931366b3d7f4b09.zip |
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.c | 2 |
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; } |