2023-11-06 06:51:12

by Amir Goldstein

[permalink] [raw]
Subject: [GIT PULL] overlayfs update for 6.7

Hi Linus,

Please pull overlayfs update for 6.7.

Most of the changes in this update have been sitting in linux-next for
several weeks, based on two prerequisite vfs topic branches.
Last week, after the vfs branches were merged, I rebased overlayfs-next
to reduce noise.

Last week, I also added patches for new mount options to replace the
lowerdir append syntax that we disabled in v6.6-rc6 and v6.5.8.

This branch has gone through the usual overlayfs test routines and it
merges cleanly with master branch of the moment.

Thanks,
Amir.

----------------------------------------------------------------
The following changes since commit 14ab6d425e80674b6a0145f05719b11e82e64824:

Merge tag 'vfs-6.7.ctime' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs (2023-10-30 09:47:13 -1000)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git ovl-update-6.7

for you to fetch changes up to 24e16e385f2272b1a9df51337a5c32d28a29c7ad:

ovl: add support for appending lowerdirs one by one (2023-10-31 00:13:02 +0200)

----------------------------------------------------------------
overlayfs update for 6.7

Contains the following patch sets:

- Overlayfs aio cleanups and fixes [1]

- Overlayfs lock ordering changes [2]

- Add support for nesting overlayfs private xattrs [3]

- Add new mount options for appending lowerdirs [4]

[1] https://lore.kernel.org/r/[email protected]/
[2] https://lore.kernel.org/r/[email protected]/
[3] https://lore.kernel.org/r/[email protected]/
[4] https://lore.kernel.org/r/[email protected]/

----------------------------------------------------------------
Alexander Larsson (4):
ovl: Add OVL_XATTR_TRUSTED/USER_PREFIX_LEN macros
ovl: Support escaped overlay.* xattrs
ovl: Add an alternative type of whiteout
ovl: Add documentation on nesting of overlayfs mounts

Amir Goldstein (14):
ovl: use simpler function to convert iocb to rw flags
ovl: propagate IOCB_APPEND flag on writes to realfile
ovl: punt write aio completion to workqueue
ovl: protect copying of realinode attributes to ovl inode
ovl: add helper ovl_file_modified()
ovl: split ovl_want_write() into two helpers
ovl: reorder ovl_want_write() after ovl_inode_lock()
ovl: do not open/llseek lower file with upper sb_writers held
ovl: do not encode lower fh with upper sb_writers held
ovl: Move xattr support to new xattrs.c file
ovl: remove unused code in lowerdir param parsing
ovl: store and show the user provided lowerdir mount option
ovl: refactor layer parsing helpers
ovl: add support for appending lowerdirs one by one

Documentation/filesystems/overlayfs.rst | 40 +++-
fs/overlayfs/Makefile | 2 +-
fs/overlayfs/copy_up.c | 142 +++++++++-----
fs/overlayfs/dir.c | 64 +++----
fs/overlayfs/export.c | 7 +-
fs/overlayfs/file.c | 88 ++++++---
fs/overlayfs/inode.c | 165 ++--------------
fs/overlayfs/namei.c | 52 ++++--
fs/overlayfs/overlayfs.h | 72 +++++--
fs/overlayfs/params.c | 322 +++++++++++++++++---------------
fs/overlayfs/params.h | 1 +
fs/overlayfs/readdir.c | 27 ++-
fs/overlayfs/super.c | 92 ++-------
fs/overlayfs/util.c | 115 +++++++++++-
fs/overlayfs/xattrs.c | 271 +++++++++++++++++++++++++++
fs/super.c | 1 +
16 files changed, 929 insertions(+), 532 deletions(-)
create mode 100644 fs/overlayfs/xattrs.c