aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2021-06-25 02:02:48 +0000
committerJens Axboe <[email protected]>2021-06-25 15:50:31 +0000
commitcb9516be7708a2a18ec0a19fe3a225b5b3bc92c7 (patch)
treeee5d183398393aa97d7a782437f828cb35a4a305 /net/switchdev/switchdev.c
parentblk: Fix lock inversion between ioc lock and bfqd lock (diff)
downloadkernel-cb9516be7708a2a18ec0a19fe3a225b5b3bc92c7.tar.gz
kernel-cb9516be7708a2a18ec0a19fe3a225b5b3bc92c7.zip
blk-mq: update hctx->dispatch_busy in case of real scheduler
Commit 6e6fcbc27e77 ("blk-mq: support batching dispatch in case of io") starts to support io batching submission by using hctx->dispatch_busy. However, blk_mq_update_dispatch_busy() isn't changed to update hctx->dispatch_busy in that commit, so fix the issue by updating hctx->dispatch_busy in case of real scheduler. Reported-by: Jan Kara <[email protected]> Reviewed-by: Jan Kara <[email protected]> Fixes: 6e6fcbc27e77 ("blk-mq: support batching dispatch in case of io") Signed-off-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions