Re: [PATCH] blk-mq: fix stale tag depth for shared sched tags in blk_mq_update_nr_requests()
From: Yu Kuai
Date: Wed Oct 15 2025 - 12:33:10 EST
Hi,
在 2025/10/15 21:48, Jens Axboe 写道:
On 10/14/25 7:48 PM, Yu Kuai wrote:
Commit 7f2799c546db ("blk-mq: cleanup shared tags case inFix looks fine, but you really should add a Link to the bug report, and
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.
also a Reported-by tag. I'll add those.
Thanks! Sorry that I do forget about this.
Kuai