On Fri, 15 Aug 2025 21:17:37 +0800, Ming Lei wrote:
Commit 5989bfe6ac6b ("block: restore two stage elevator switch while
running nr_hw_queue update") reintroduced a lockdep warning by calling
blk_mq_freeze_queue_nomemsave() before switching the I/O scheduler.
The function blk_mq_elv_switch_none() calls elevator_change_done().
Running this while the queue is frozen causes a lockdep warning.
[...]
Applied, thanks!
[1/1] blk-mq: fix lockdep warning in __blk_mq_update_nr_hw_queues
commit: 2d82f3bd8910eb65e30bb2a3c9b945bfb3b6d661
Best regards,
--
Jens Axboe