]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1b1e92cabbc7ee88fd7b51c2dd0eaac13c958e4d
treeb22dba5d09cac0a46d5144adbd191bb732b43fcc
parent3ef5ab9a74b6be53122b07232de7c76de0c5f8d3
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