aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fault-inject.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2023-04-13 06:06:47 +0000
committerJens Axboe <[email protected]>2023-04-13 12:57:18 +0000
commit89ea5ceb53d14f52ecbad8393be47f382c47c37d (patch)
tree1c95c5ce7fc34eff89bd471d89ccfb2c081fc41d /lib/fault-inject.c
parentblk-mq: pass a flags argument to blk_mq_add_to_requeue_list (diff)
downloadkernel-89ea5ceb53d14f52ecbad8393be47f382c47c37d.tar.gz
kernel-89ea5ceb53d14f52ecbad8393be47f382c47c37d.zip
blk-mq: cleanup __blk_mq_sched_dispatch_requests
__blk_mq_sched_dispatch_requests currently has duplicated logic for the cases where requests are on the hctx dispatch list or not. Merge the two with a new need_dispatch variable and remove a few pointless local variables. 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