Christoph Hellwig cd735e1113 blk-mq: move the blk_mq_hctx_stopped check in __blk_mq_delay_run_hw_queue
For the in-context dispatch, blk_mq_hctx_stopped is alredy checked in
blk_mq_sched_dispatch_requests under blk_mq_run_dispatch_ops() protection.
For the async dispatch case having a check before scheduling the work
still makes sense to avoid needless workqueue scheduling, so just keep it
for that case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230413060651.694656-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
2023-04-13 06:57:18 -06:00
..
2023-02-02 22:33:34 -08:00
2023-03-03 10:21:39 -08:00
2023-03-20 15:30:03 -06:00
2023-04-13 06:46:49 -06:00
2022-12-16 03:54:54 -08:00
2022-02-02 07:49:59 -07:00
2023-01-05 08:50:10 -07:00
2022-03-07 12:48:35 -07:00