diff options
| author | 2025-10-15 09:48:27 +0800 | |
|---|---|---|
| committer | 2025-10-23 16:24:37 +0200 | |
| commit | 4f487c64b7550efd171abdffdf9b239c77d9f9b9 (patch) | |
| tree | f45a2d8f1313a6bb87b643bd008412a8028c9cca /rust/kernel/sync/ssh:/git@git.zx2c4.com | |
| parent | ALSA: usb-audio: Fix NULL pointer deference in try_to_register_card (diff) | |
blk-mq: fix stale tag depth for shared sched tags in blk_mq_update_nr_requests()
[ Upstream commit dc96cefef0d3032c69e46a21b345c60e56b18934 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'rust/kernel/sync/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
