summaryrefslogtreecommitdiff
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-04-13 09:40:52 +0300
committerJens Axboe <axboe@kernel.dk>2023-04-13 15:52:30 +0300
commit2394395cd598f6404c57ae0b63afb5d37e94924d (patch)
tree03de61a79c5f113fb31abc6f3c3a194264000e8a /block/blk-mq.h
parentf0dbe6e88e1bf4003ef778527b975ff60dbdd35a (diff)
downloadlinux-2394395cd598f6404c57ae0b63afb5d37e94924d.tar.xz
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>
Diffstat (limited to 'block/blk-mq.h')
-rw-r--r--block/blk-mq.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h
index e2d59e33046e..f30f99166f38 100644
--- a/block/blk-mq.h
+++ b/block/blk-mq.h
@@ -65,8 +65,7 @@ void blk_mq_free_map_and_rqs(struct blk_mq_tag_set *set,
/*
* Internal helpers for request insertion into sw queues
*/
-void blk_mq_request_bypass_insert(struct request *rq, bool at_head,
- bool run_queue);
+void blk_mq_request_bypass_insert(struct request *rq, bool at_head);
/*
* CPU -> queue mappings