block: pass 'run_queue' to blk_mq_request_bypass_insert
authorMing Lei <ming.lei@redhat.com>
Thu, 2 Nov 2017 15:24:34 +0000 (23:24 +0800)
committerJens Axboe <axboe@kernel.dk>
Sat, 4 Nov 2017 18:38:40 +0000 (12:38 -0600)
commitb0850297c749ea79a5717d597931366b3d7f4b09
treeb22dba5d09cac0a46d5144adbd191bb732b43fcc
parent9c71c83c857e7a84a5be5a56ea88da7098f51db8
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>
block/blk-core.c
block/blk-mq.c
block/blk-mq.h