kernel_optimize_test/fs/overlayfs
Vivek Goyal a00c2d59e9 ovl: Add an inode flag OVL_CONST_INO
Add an ovl_inode flag OVL_CONST_INO.  This flag signifies if inode number
will remain constant over copy up or not.  This flag does not get updated
over copy up and remains unmodifed after setting once.

Next patch in the series will make use of this flag.  It will basically
figure out if dentry is of type ORIGIN or not.  And this can be derived by
this flag.

ORIGIN = (upperdentry && ovl_test_flag(OVL_CONST_INO, inode)).

Suggested-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2018-07-20 09:56:14 +02:00
..
copy_up.c ovl: Copy up meta inode data from lowest data inode 2018-07-20 09:56:09 +02:00
dir.c ovl: copy up times 2018-07-18 15:44:40 +02:00
export.c ovl: Modify ovl_lookup() and friends to lookup metacopy dentry 2018-07-20 09:56:09 +02:00
file.c ovl: Open file with data except for the case of fsync 2018-07-20 09:56:12 +02:00
inode.c ovl: Add an inode flag OVL_CONST_INO 2018-07-20 09:56:14 +02:00
Kconfig ovl: Provide a mount option metacopy=on/off for metadata copyup 2018-07-20 09:56:06 +02:00
Makefile ovl: stack file ops 2018-07-18 15:44:41 +02:00
namei.c ovl: Check redirects for metacopy files 2018-07-20 09:56:13 +02:00
overlayfs.h ovl: Add an inode flag OVL_CONST_INO 2018-07-20 09:56:14 +02:00
ovl_entry.h ovl: Store lower data inode in ovl_inode 2018-07-20 09:56:11 +02:00
readdir.c ovl: fix wrong use of impure dir cache in ovl_iterate() 2018-07-17 16:04:34 +02:00
super.c ovl: Do not expose metacopy only dentry from d_real() 2018-07-20 09:56:12 +02:00
util.c ovl: Treat metacopy dentries as type OVL_PATH_MERGE 2018-07-20 09:56:13 +02:00