blk-mq: don't kick the requeue_list in blk_mq_add_to_requeue_list
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Apr 2023 06:40:53 +0000 (08:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Apr 2023 12:52:30 +0000 (06:52 -0600)
commit214a441805b8cc090930fb00193125e22466a95a
treeb21d812b8b46d5b0e460d2edc130cf4eec882fd8
parent2394395cd598f6404c57ae0b63afb5d37e94924d
blk-mq: don't kick the requeue_list in blk_mq_add_to_requeue_list

blk_mq_add_to_requeue_list takes a bool parameter to control how to kick
the requeue list at the end of the function.  Move the call to
blk_mq_kick_requeue_list 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-17-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-flush.c
block/blk-mq.c
block/blk-mq.h