[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <bfba2ef9-ecb7-4917-a7db-01b252d7be04@gmail.com>
Date: Wed, 1 Oct 2025 06:05:28 -0700
From: Kyle Sanderson <kyle.leet@...il.com>
To: Nilay Shroff <nilay@...ux.ibm.com>, linux-block@...r.kernel.org,
Linus Torvalds <torvalds@...ux-foundation.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>, axboe@...nel.dk
Cc: hch@....de, ming.lei@...hat.com, hare@...e.de, sth@...ux.ibm.com,
gjoyce@....com, linux-fsdevel@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [6.16.9 / 6.17.0 PANIC REGRESSION] block: fix lockdep warning
caused by lock dependency in elv_iosched_store
On 9/30/2025 10:20 PM, Kyle Sanderson wrote:
> On 7/30/2025 12:46 AM, Nilay Shroff wrote:
>> To address this, move all sched_tags allocations and deallocations
>> outside
>> of both the ->elevator_lock and the ->freeze_lock.
>
> Hi Nilay,
>
> I am coming off of a 36 hour travel stint, and 6.16.7 (I do not have
> that log, and it mightily messed up my xfs root requiring offline
> repair), 6.16.9, and 6.17.0 simply do not boot on my system. After
> unlocking with LUKS I get this panic consistently and immediately, and I
> believe this is the problematic commit which was unfortunately carried
> to the previous and current stable. I am using this udev rule:
> `ACTION=="add|change", KERNEL=="sd*[!0-9]|sr*|nvme*", ATTR{queue/
> scheduler}="bfq"`
Hi Greg,
Slept for a couple hours. This appears to be well known in block (the
fix is in the 6.18 pull) that it is causing panics on stable, and didn't
make it back to 6.17 past the initial merge window (as well as 6.16).
Presumably adjusting the request depth isn't common (if this is indeed
the problem)?
I also have ACTION=="add|change", KERNEL=="sd*[!0-9]|sr*|nvme*",
ATTR{queue/nr_requests}="1024" as a udev rule.
Jens, is this the only patch from August that is needed to fix this panic?
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?h=for-6.18/block&id=ba28afbd9eff2a6370f23ef4e6a036ab0cfda409
Kyle.
https://lore.kernel.org/all/37087b24-24f7-46a9-95c4-2a2f3dced09b@niklasfi.de/
https://lore.kernel.org/all/175710207227.395498.3249940818566938241.b4-ty@kernel.dk/
Powered by blists - more mailing lists