Re: [PATCH] blk-iocost: use irq-safe locking in cgroup handlers

From: Jens Axboe

Date: Mon Jun 01 2026 - 15:01:02 EST



On Mon, 01 Jun 2026 14:13:12 +0800, Yu Kuai wrote:
> ioc_timer_fn() acquires ioc->lock from timer softirq context. The
> io.weight, io.cost.qos and io.cost.model cgroup handlers can take the
> same lock from process context, and the direct handler paths must not do
> so with interrupts enabled.
>
> A blkcg policy configuration reproducer with lockdep reproduced the
> following report:
>
> [...]

Applied, thanks!

[1/1] blk-iocost: use irq-safe locking in cgroup handlers
commit: 1059a743064b873aaaf34ebcff89110c7753fa32

Best regards,
--
Jens Axboe