Merge tag 'ovl-update-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs
Pull overlayfs updates from Amir Goldstein: - Overlayfs aio cleanups and fixes Cleanups and minor fixes in preparation for factoring out of read/write passthrough code. - Overlayfs lock ordering changes Hold mnt_writers only throughout copy up instead of a long lived elevated refcount. - Add support for nesting overlayfs private xattrs There are cases where you want to use an overlayfs mount as a lowerdir for another overlayfs mount. For example, if the system rootfs is on overlayfs due to composefs, or to make it volatile (via tmpfs), then you cannot currently store a lowerdir on the rootfs, because the inner overlayfs will eat all the whiteouts and overlay xattrs. This means you can't e.g. store on the rootfs a prepared container image for use with overlayfs. This adds support for nesting of overlayfs mounts by escaping the problematic features and unescaping them when exposing to the overlayfs user. - Add new mount options for appending lowerdirs * tag 'ovl-update-6.7' of git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs: ovl: add support for appending lowerdirs one by one ovl: refactor layer parsing helpers ovl: store and show the user provided lowerdir mount option ovl: remove unused code in lowerdir param parsing ovl: Add documentation on nesting of overlayfs mounts ovl: Add an alternative type of whiteout ovl: Support escaped overlay.* xattrs ovl: Add OVL_XATTR_TRUSTED/USER_PREFIX_LEN macros ovl: Move xattr support to new xattrs.c file ovl: do not encode lower fh with upper sb_writers held ovl: do not open/llseek lower file with upper sb_writers held ovl: reorder ovl_want_write() after ovl_inode_lock() ovl: split ovl_want_write() into two helpers ovl: add helper ovl_file_modified() ovl: protect copying of realinode attributes to ovl inode ovl: punt write aio completion to workqueue ovl: propagate IOCB_APPEND flag on writes to realfile ovl: use simpler function to convert iocb to rw flags
No related branches found
No related tags found
Showing
- Documentation/filesystems/overlayfs.rst 37 additions, 3 deletionsDocumentation/filesystems/overlayfs.rst
- fs/overlayfs/Makefile 1 addition, 1 deletionfs/overlayfs/Makefile
- fs/overlayfs/copy_up.c 91 additions, 51 deletionsfs/overlayfs/copy_up.c
- fs/overlayfs/dir.c 28 additions, 36 deletionsfs/overlayfs/dir.c
- fs/overlayfs/export.c 1 addition, 6 deletionsfs/overlayfs/export.c
- fs/overlayfs/file.c 63 additions, 25 deletionsfs/overlayfs/file.c
- fs/overlayfs/inode.c 20 additions, 145 deletionsfs/overlayfs/inode.c
- fs/overlayfs/namei.c 38 additions, 14 deletionsfs/overlayfs/namei.c
- fs/overlayfs/overlayfs.h 56 additions, 16 deletionsfs/overlayfs/overlayfs.h
- fs/overlayfs/params.c 173 additions, 149 deletionsfs/overlayfs/params.c
- fs/overlayfs/params.h 1 addition, 0 deletionsfs/overlayfs/params.h
- fs/overlayfs/readdir.c 20 additions, 7 deletionsfs/overlayfs/readdir.c
- fs/overlayfs/super.c 20 additions, 72 deletionsfs/overlayfs/super.c
- fs/overlayfs/util.c 108 additions, 7 deletionsfs/overlayfs/util.c
- fs/overlayfs/xattrs.c 271 additions, 0 deletionsfs/overlayfs/xattrs.c
- fs/super.c 1 addition, 0 deletionsfs/super.c
Loading
Please register or sign in to comment