aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-04-13 06:06:49 +0000
committerJens Axboe <[email protected]>2023-04-13 12:57:18 +0000
commitcd735e11130d4c84a073e1056aa019ca0f3305f9 (patch)
treea52ca4eee82889ccc48a275432b5caf75b2d5ea2 /lib/fault-inject.c
parentblk-mq: remove the blk_mq_hctx_stopped check in blk_mq_run_work_fn (diff)
downloadkernel-cd735e11130d4c84a073e1056aa019ca0f3305f9.tar.gz
kernel-cd735e11130d4c84a073e1056aa019ca0f3305f9.zip
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 <[email protected]> Reviewed-by: Damien Le Moal <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/fault-inject.c')
0 files changed, 0 insertions, 0 deletions