blk-mq: don't run the hw_queue from blk_mq_request_bypass_insert
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Apr 2023 06:40:52 +0000 (08:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Apr 2023 12:52:30 +0000 (06:52 -0600)
commit2394395cd598f6404c57ae0b63afb5d37e94924d
tree03de61a79c5f113fb31abc6f3c3a194264000e8a
parentf0dbe6e88e1bf4003ef778527b975ff60dbdd35a
blk-mq: don't run the hw_queue from blk_mq_request_bypass_insert

blk_mq_request_bypass_insert takes a bool parameter to control how to run
the queue at the end of the function.  Move the blk_mq_run_hw_queue call
to the callers that want it instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230413064057.707578-16-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-flush.c
block/blk-mq.c
block/blk-mq.h