linux/fs/overlayfs
Amir Goldstein 016b720f55 ovl: index directories on copy up for NFS export
With the NFS export feature enabled, all dirs are indexed on copy up.
Non-dir files are copied up directly to indexdir and then hardlinked
to upper dir.

Directories are copied up to indexdir, then an index entry is created
in indexdir with 'upper' xattr pointing to the copied up dir and then
the copied up dir is moved to upper dir.

Directory index is also used for consistency verification, like
detecting multiple redirected dirs to the same lower dir on lookup.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2018-01-24 11:25:55 +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: take lower dir inode mutex outside upper sb_writers lock 2018-01-19 17:43:23 +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: cleanup temp index entries 2018-01-24 11:25:53 +01:00
overlayfs.h ovl: create ovl_need_index() helper 2018-01-24 11:25:54 +01:00
ovl_entry.h ovl: add support for "nfs_export" configuration 2018-01-24 11:25:37 +01:00
readdir.c ovl: simplify arguments to ovl_check_origin_fh() 2018-01-24 10:19:46 +01:00
super.c ovl: use directory index entries for consistency verification 2018-01-24 11:25:52 +01:00
util.c ovl: index directories on copy up for NFS export 2018-01-24 11:25:55 +01:00