[GIT PULL] overlayfs fixes for 7.0-rc6
From: Amir Goldstein
Date: Sun Mar 29 2026 - 05:27:19 EST
Hi Linus,
Please pull overlayfs fixes for 7.0-rc6 to fix two regressions
from v6.7 (minor impact) and from v6.12 (major performance impact).
This branch has been sitting in linux-next for a couple of day and
it has gone through the usual overlayfs test routines.
The branch merges cleanly with master branch of the moment.
Thanks,
Amir.
----------------------------------------------------------------
The following changes since commit f338e77383789c0cae23ca3d48adcc5e9e137e3c:
Linux 7.0-rc4 (2026-03-15 13:52:05 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git ovl-fixes-7.0-rc6
for you to fetch changes up to 1f6ee9be92f8df85a8c9a5a78c20fd39c0c21a95:
ovl: make fsync after metadata copy-up opt-in mount option (2026-03-27 12:48:10 +0100)
----------------------------------------------------------------
overlayfs fixes for 7.0-rc6:
- Fix regression in 'xino' feature detection.
I clumsily introduced this regression myself when working on another
subsystem (fsnotify). Both the regression and the fix have almost
no visible impact on users except for some kmsg prints.
- Fix to performance regression in v6.12.
This regression was reported by Google GOC developers.
It is not uncommon these days for the year-old mature LTS to
get adopted by distros and get exposed to many new workloads.
We made a sub-smart move of making a behavior change in v6.12
which could impact performance, without making it opt-in.
Fixing this mistake retroactively, to be picked by LTS.
----------------------------------------------------------------
Amir Goldstein (1):
ovl: fix wrong detection of 32bit inode numbers
Fei Lv (1):
ovl: make fsync after metadata copy-up opt-in mount option
Documentation/filesystems/overlayfs.rst | 50 +++++++++++++++++++++++++++++++++
fs/overlayfs/copy_up.c | 6 ++--
fs/overlayfs/overlayfs.h | 21 ++++++++++++++
fs/overlayfs/ovl_entry.h | 7 +----
fs/overlayfs/params.c | 33 ++++++++++++++++++----
fs/overlayfs/super.c | 2 +-
fs/overlayfs/util.c | 5 +++-
7 files changed, 108 insertions(+), 16 deletions(-)