Re: [PATCH] loop: Fix recently introduced lock inversion

Jens Axboe <[email protected]>
Newsgroups org.kernel.vger.linux-block
Message-ID <178683852226.1984298.825035093635787568.b4-ty@b4>
On Thu, 13 Aug 2026 16:14:20 +0000, Bart Van Assche wrote:
> All block driver code except loop_set_dio() calls
> queue_limits_start_update() before it freezes the request queue. Make
> loop_set_dio() follow this convention. This patch fixes the following
> lockdep complaint:
> 
> ======================================================
> WARNING: possible circular locking dependency detected
> 7.2.0-rc5-dbg #11 Not tainted
> ------------------------------------------------------
> losetup/2924 is trying to acquire lock:
> ffff88816c76da68 (&q->limits_lock){+.+.}-{4:4}, at: loop_set_dio+0x318/0x720 [loop]
> 
> [...]

Applied, thanks!

[1/1] loop: Fix recently introduced lock inversion
      commit: 06a2ff603f1f22dd314e24c50092717b4b8c3ade

Best regards,
-- 
Jens Axboe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.