mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-08 18:57:22 +00:00
blk-mq: cleanup shared tags case in blk_mq_update_nr_requests()
[ Upstream commit7f2799c546] For shared tags case, all hctx->sched_tags/tags are the same, it doesn't make sense to call into blk_mq_tag_update_depth() multiple times for the same tags. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Reviewed-by: Nilay Shroff <nilay@linux.ibm.com> Signed-off-by: Jens Axboe <axboe@kernel.dk> Stable-dep-of:b86433721f("blk-mq: fix potential deadlock while nr_requests grown") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
b1b9ba3c2e
commit
64cb378502
2 changed files with 22 additions and 28 deletions
Loading…
Add table
Add a link
Reference in a new issue