Re: [PATCHv8 0/3] block: move sched_tags allocation/de-allocation outside of locking context
From: Jens Axboe <axboe@kernel.dk>
Date: 2025-07-30 12:21:11
From: Jens Axboe <axboe@kernel.dk>
Date: 2025-07-30 12:21:11
On Wed, 30 Jul 2025 13:16:06 +0530, Nilay Shroff wrote:
There have been a few reports[1] indicating potential lockdep warnings due to a lock dependency from the percpu allocator to the elevator lock. This patch series aims to eliminate that dependency. The series consists of three patches: The first patch is preparatory patch and just move elevator queue allocation logic from ->init_sched into blk_mq_init_sched. [...]
Applied, thanks!
[1/3] block: move elevator queue allocation logic into blk_mq_init_sched
commit: 49811586be373e26a3ab52f54e0dfa663c02fddd
[2/3] block: fix lockdep warning caused by lock dependency in elv_iosched_store
commit: f5a6604f7a4405450e4a1f54e5430f47290c500f
[3/3] block: fix potential deadlock while running nr_hw_queue update
commit: 04225d13aef11b2a539014def5e47d8c21fd74a5
Best regards,
--
Jens Axboe