linux/fs/overlayfs
Chandan Rajendra b93436320c ovl: re-structure overlay lower layers in-memory
Define new structures to represent overlay instance lower layers and
overlay merge dir lower layers to make room for storing more per layer
information in-memory.

Instead of keeping the fs instance lower layers in an array of struct
vfsmount, keep them in an array of new struct ovl_layer, that has a
pointer to struct vfsmount.

Instead of keeping the dentry lower layers in an array of struct path,
keep them in an array of new struct ovl_path, that has a pointer to
struct dentry and to struct ovl_layer.

Add a small helper to find the fs layer id that correspopnds to a lower
struct ovl_path and use it in ovl_lookup().

[amir: split re-structure from anonymous bdev patch]

Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com>
Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2017-11-09 10:23:27 +01:00
..
copy_up.c ovl: move include of ovl_entry.h into overlayfs.h 2017-11-09 10:23:27 +01:00
dir.c ovl: fix rmdir problem on non-merge dir with origin xattr 2017-11-09 10:23:27 +01:00
inode.c ovl: move include of ovl_entry.h into overlayfs.h 2017-11-09 10:23:27 +01:00
Kconfig ovl: introduce the inodes index dir feature 2017-07-04 22:03:17 +02:00
Makefile ovl: split super.c 2016-12-16 11:02:56 +01:00
namei.c ovl: re-structure overlay lower layers in-memory 2017-11-09 10:23:27 +01:00
overlayfs.h ovl: re-structure overlay lower layers in-memory 2017-11-09 10:23:27 +01:00
ovl_entry.h ovl: re-structure overlay lower layers in-memory 2017-11-09 10:23:27 +01:00
readdir.c ovl: re-structure overlay lower layers in-memory 2017-11-09 10:23:27 +01:00
super.c ovl: re-structure overlay lower layers in-memory 2017-11-09 10:23:27 +01:00
util.c ovl: re-structure overlay lower layers in-memory 2017-11-09 10:23:27 +01:00