Re: (subset) [PATCH] selftests/cachestat: add overlayfs test cases

From: Christian Brauner

Date: Fri Nov 20 2026 - 09:13:52 EST


On Thu, 19 Nov 2026 19:30:40 +0100, Pavel Tikhomirov wrote:
> Run cachestat() on overlayfs files in four variants. The file is written
> either to the lower dir of an overlayfs or through its mount, so its
> page cache is in the lower or in the upper dir. Then it is opened
> read-only, so it is not copied up, and checked:
>
> - through the overlayfs mount: the page cache is one stacking level
> down;
> - through a second overlayfs mount, which has the first one's merged dir
> as its lower dir: the page cache is two stacking levels down.
>
> [...]

Applied to the vfs-7.5.misc branch of the vfs/vfs.git tree.
Patches in the vfs-7.5.misc branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.5.misc

[1/1] selftests/cachestat: add overlayfs test cases
https://git.kernel.org/vfs/vfs/c/ab5ec75b9f6d