summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-sysfs.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2021-06-25 04:02:48 +0200
committerJens Axboe <axboe@kernel.dk>2021-06-25 17:50:31 +0200
commitcb9516be7708a2a18ec0a19fe3a225b5b3bc92c7 (patch)
treeee5d183398393aa97d7a782437f828cb35a4a305 /block/blk-mq-sysfs.c
parentblk: Fix lock inversion between ioc lock and bfqd lock (diff)
downloadlinux-cb9516be7708a2a18ec0a19fe3a225b5b3bc92c7.tar.xz
linux-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 <jack@suse.cz> Reviewed-by: Jan Kara <jack@suse.cz> Fixes: 6e6fcbc27e77 ("blk-mq: support batching dispatch in case of io") Signed-off-by: Ming Lei <ming.lei@redhat.com> Link: https://lore.kernel.org/r/20210625020248.1630497-1-ming.lei@redhat.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-sysfs.c')
0 files changed, 0 insertions, 0 deletions