[PATCH v4 19/19] selftests/liveupdate: Test block accounting of retrieved tmpfs files
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Wed Nov 11 16:31:33 PST 2026
> Add test cases to luo_tmpfs for how the blocks of a retrieved file are
> charged: The file fits a mount of exactly its size, and a large folio
> that extends past the end of the file is charged in full. Running out of
> space on the mount, or hitting the memcg limit, fails permanently,
> leaves the target empty and nothing charged to the mount or the memcg,
> and the session can still be finished.
>
> Enable CONFIG_TRANSPARENT_HUGEPAGE for the large folio test cases, and
> CONFIG_CGROUPS and CONFIG_MEMCG for the memcg test case. They are
> skipped without them.
>
> tmpfs quotas are not tested.
>
> 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=19
More information about the kexec
mailing list