kernel_optimize_test/fs/overlayfs
Amir Goldstein 24f0b17203 ovl: whiteout orphan index entries on mount
Orphan index entries are non-dir index entries whose union nlink count
dropped to zero. With index=on, orphan index entries are removed on
mount. With NFS export feature enabled, orphan index entries are replaced
with white out index entries to block future open by handle from opening
the lower file.

When dir index has a stale 'upper' xattr, we assume that the upper dir
was removed and we treat the dir index as orphan entry that needs to be
whited out or removed.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2018-01-24 11:25:56 +01:00
..
copy_up.c ovl: index directories on copy up for NFS export 2018-01-24 11:25:55 +01:00
dir.c ovl: whiteout index when union nlink drops to zero 2018-01-24 11:25:56 +01:00
inode.c ovl: unbless lower st_ino of unverified origin 2018-01-24 11:25:52 +01:00
Kconfig ovl: add support for "nfs_export" configuration 2018-01-24 11:25:37 +01:00
Makefile ovl: split super.c 2016-12-16 11:02:56 +01:00
namei.c ovl: whiteout orphan index entries on mount 2018-01-24 11:25:56 +01:00
overlayfs.h ovl: whiteout index when union nlink drops to zero 2018-01-24 11:25:56 +01:00
ovl_entry.h ovl: add support for "nfs_export" configuration 2018-01-24 11:25:37 +01:00
readdir.c ovl: whiteout orphan index entries on mount 2018-01-24 11:25:56 +01:00
super.c ovl: use directory index entries for consistency verification 2018-01-24 11:25:52 +01:00
util.c ovl: whiteout index when union nlink drops to zero 2018-01-24 11:25:56 +01:00