On Fri, Apr 04, 2025 at 08:09:31PM +0800, Ming Lei wrote: > > I think the problem here is again that because of all the other > > dependencies elevator_lock really needs to be per-set instead of > > per-queue which will allows us to have much saner locking hierarchies. > > per-set lock is required in error handling code path, anywhere it is used > with freezing together can be one deadlock risk if hardware error happens. > > Or can you explain the idea in details? I fail to parse the above sentence. What about a per-set lock always taken before freezing queues has an inherentl deadlock risk?