Re: [RFC 0/6] fs: automatic kernel fs freeze / thaw
From: James Bottomley
Date: Wed Mar 26 2025 - 08:27:35 EST
On Wed, 2025-03-26 at 04:42 -0700, Luis Chamberlain wrote:
> On Wed, Mar 26, 2025 at 04:22:14AM -0700, Luis Chamberlain wrote:
> > I did a quick boot test with this on my laptop and suspend doesn't
> > work, its not clear if this was an artifact of me trying this on
> > linux-next or what, I can try without my patches on next to see if
> > next actually suspends without them. And so, we gotta figure out if
> > there's something stupid still to fix, or something broken with
> > these changes I overlooked on the rebase.
>
> next-20250321 has suspend broken, so it was not my patches which
> broke suspend. So we need baseline first on a kernel revision where
> it is not broken.
I wrote a much lighter weight version of this and tested it on 6.14 (or
actually 6.14-rc6 since my laptop takes ages to do a full kernel
compile), which is where I found the sb_write_started() deadlock Jan
predicted. But with that fixed, at least hibernate works for me using
an ext4 based image, so if you use 6.14 as your base, it should work
for you.
Regards,
James