On Tue, Apr 22, 2025 at 12:00:44PM +0800, Ming Lei wrote: > On Mon, Apr 21, 2025 at 02:34:56PM +0200, Christoph Hellwig wrote: > > On Sat, Apr 19, 2025 at 12:36:44AM +0800, Ming Lei wrote: > > > Both elevator_switch() and elevator_disable() are called from sysfs > > > store and updating nr_hw_queue code paths only. > > > > I don't understand this sentence. What does > > "and updating nr_hw_queue code paths only" mean? > > Both two are only called from the two code paths, in which queue is > guaranteed to be frozen. Yes, that's also verified by the asserts. But the commit message doesn't sound like that at all.