diff options
| author | 2025-10-15 18:30:39 +0800 | |
|---|---|---|
| committer | 2025-10-23 16:24:37 +0200 | |
| commit | 46ef903d8c0b99b6738dcb936015584236b94658 (patch) | |
| tree | 581b8bf20e19163ee8da6be14cea458873916185 /tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com/git: | |
| parent | blk-mq: fix stale tag depth for shared sched tags in blk_mq_update_nr_requests() (diff) | |
block: Remove elevator_lock usage from blkg_conf frozen operations
[ Upstream commit 08823e89e3e269bf4c4a20b4c24a8119920cc7a4 ]
Remove the acquisition and release of q->elevator_lock in the
blkg_conf_open_bdev_frozen() and blkg_conf_exit_frozen() functions. The
elevator lock is no longer needed in these code paths since commit
78c271344b6f ("block: move wbt_enable_default() out of queue freezing
from sched ->exit()") which introduces `disk->rqos_state_mutex` for
protecting wbt state change, and not necessary to abuse elevator_lock
for this purpose.
This change helps to solve the lockdep warning reported from Yu Kuai[1].
Pass blktests/throtl with lockdep enabled.
Links: https://lore.kernel.org/linux-block/e5e7ac3f-2063-473a-aafb-4d8d43e5576e@yukuai.org.cn/ [1]
Fixes: commit 78c271344b6f ("block: move wbt_enable_default() out of queue freezing from sched ->exit()")
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Nilay Shroff <nilay@linux.ibm.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
