[PATCH v4 18/19] selftests/liveupdate: Test retrieving tmpfs files preserved read-only
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Wed Nov 11 16:31:32 PST 2026
> Add test cases to luo_tmpfs for source files preserved through a
> read-only fd, through a read-only mount, on a read-only superblock, and
> immutable files. Each of these cases except the first also preserves a
> sparse file, whose holes are filled when it is preserved. Check that
> the files are retrieved with their contents. Also check that the size of
> a preserved file is frozen, even when the file is opened by its path,
> and that writes within the file are preserved.
>
> Signed-off-by: David Matlack <dmatlack at google.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261111002358.1842967-1-dmatlack@google.com?part=18
More information about the kexec
mailing list