diff options
| author | Christoph Hellwig <[email protected]> | 2023-04-13 06:06:47 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-04-13 12:57:18 +0000 |
| commit | 89ea5ceb53d14f52ecbad8393be47f382c47c37d (patch) | |
| tree | 1c95c5ce7fc34eff89bd471d89ccfb2c081fc41d /lib/fault-inject.c | |
| parent | blk-mq: pass a flags argument to blk_mq_add_to_requeue_list (diff) | |
| download | kernel-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
