linux/fs/overlayfs
Amir Goldstein 5148626b80 ovl: allocate anon bdev per unique lower fs
Instead of allocating an anonymous bdev per lower layer, allocate
one anonymous bdev per every unique lower fs that is different than
upper fs.

Every unique lower fs is assigned an fsid > 0 and the number of
unique lower fs are stored in ofs->numlowerfs.

The assigned fsid is stored in the lower layer struct and will be
used also for inode number multiplexing.

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
2018-04-12 12:04:50 +02:00
..
copy_up.c ovl: disambiguate ovl_encode_fh() 2018-04-12 12:04:49 +02:00
dir.c ovl: whiteout index when union nlink drops to zero 2018-01-24 11:25:56 +01:00
export.c ovl: cleanup setting OVL_INDEX 2018-04-12 12:04:49 +02:00
inode.c ovl: allocate anon bdev per unique lower fs 2018-04-12 12:04:50 +02:00
Kconfig ovl: update Kconfig texts 2018-03-07 11:47:15 +01:00
Makefile ovl: encode pure upper file handles 2018-01-24 11:25:59 +01:00
namei.c ovl: add WARN_ON() for non-dir redirect cases 2018-04-12 12:04:49 +02:00
overlayfs.h ovl: factor out ovl_map_dev_ino() helper 2018-04-12 12:04:50 +02:00
ovl_entry.h ovl: allocate anon bdev per unique lower fs 2018-04-12 12:04:50 +02:00
readdir.c ovl: whiteout orphan index entries on mount 2018-01-24 11:25:56 +01:00
super.c ovl: allocate anon bdev per unique lower fs 2018-04-12 12:04:50 +02:00
util.c ovl: allocate anon bdev per unique lower fs 2018-04-12 12:04:50 +02:00