Thread (5 messages) 5 messages, 4 authors, 2025-08-21

Re: [PATCH V2] blk-mq: fix lockdep warning in __blk_mq_update_nr_hw_queues

From: Jens Axboe <axboe@kernel.dk>
Date: 2025-08-21 11:35:23

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


Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help