diff options
author | John Garry <john.garry@huawei.com> | 2021-10-18 12:41:23 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-10-21 17:21:52 +0300 |
commit | 0994c64eb4159ba019e7fedc7ba0dd6a69235b40 (patch) | |
tree | 3e754f29893f5fa6d13cb5bb4ec9b6eb5d6001af /block/blk-mq-debugfs.h | |
parent | 008f75a20e7072d0840ec323c39b42206f3fa8a0 (diff) | |
download | linux-0994c64eb4159ba019e7fedc7ba0dd6a69235b40.tar.xz |
blk-mq: Fix blk_mq_tagset_busy_iter() for shared tags
Since it is now possible for a tagset to share a single set of tags, the
iter function should not re-iter the tags for the count of #hw queues in
that case. Rather it should just iter once.
Fixes: e155b0c238b2 ("blk-mq: Use shared tags for shared sbitmap support")
Reported-by: Kashyap Desai <kashyap.desai@broadcom.com>
Signed-off-by: John Garry <john.garry@huawei.com>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Tested-by: Kashyap Desai <kashyap.desai@broadcom.com>
Link: https://lore.kernel.org/r/1634550083-202815-1-git-send-email-john.garry@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs.h')
0 files changed, 0 insertions, 0 deletions