summaryrefslogtreecommitdiff
path: root/include/linux/overflow.h
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2025-10-15 04:48:27 +0300
committerJens Axboe <axboe@kernel.dk>2025-10-15 16:49:19 +0300
commitdc96cefef0d3032c69e46a21b345c60e56b18934 (patch)
treeac9bc6a9a0ade1fe45487e2e47d138c8fece1600 /include/linux/overflow.h
parent455281c0ef4e2cabdfe2e8b83fa6010d5210811c (diff)
downloadlinux-dc96cefef0d3032c69e46a21b345c60e56b18934.tar.xz
blk-mq: fix stale tag depth for shared sched tags in blk_mq_update_nr_requests()
Commit 7f2799c546db ("blk-mq: cleanup shared tags case in blk_mq_update_nr_requests()") moves blk_mq_tag_update_sched_shared_tags() before q->nr_requests is updated, however, it's still using the old q->nr_requests to resize tag depth. Fix this problem by passing in expected new tag depth. Fixes: 7f2799c546db ("blk-mq: cleanup shared tags case in blk_mq_update_nr_requests()") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Ming Lei <ming.lei@redhat.com> Reviewed-by: Nilay Shroff <nilay@linux.ibm.com> Reported-by: Chris Mason <clm@meta.com> Link: https://lore.kernel.org/linux-block/20251014130507.4187235-2-clm@meta.com/ Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions