On Tue, Jan 07, 2025 at 06:25:20PM +0800, Ming Lei wrote: > __blk_mq_update_nr_hw_queues() freezes queue before acquiring ->syfs_lock too. > > So yes, it is a mess wrt. order between ->sysfs_lock and freezing queue. Let's sort out the current freeze vs limits lock issue first. Next step is to kill sysfs_lock in it's current form.