Thread (101 messages) 101 messages, 14 authors, 2025-11-25

Re: [PATCH v2 22/50] convert efivarfs

From: Christian Brauner <brauner@kernel.org>
Date: 2025-11-05 13:43:42
Also in: bpf, linux-efi, linux-fsdevel, linux-mm, linux-usb, ocfs2-devel, selinux

quoted
quoted
And suspend/resume works just fine with freeze/thaw. See commit
eacfbf74196f ("power: freeze filesystems during suspend/resume")
which implements exactly that.

The reason this didn't work for you is very likely:

cat /sys/power/freeze_filesystems
0

which you must set to 1.
Actually, no, that's not correct.  The efivarfs freeze/thaw logic must
run unconditionally regardless of this setting to fix the systemd bug,
so all the variable resyncing is done in the thaw call, which isn't
conditioned on the above (or at least it shouldn't be).
It is conditioned on the above currently but we can certainly fix it
easily to not be.
Something like the appended patch would do it.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help