aufs: xino 1/2, core
XINO and XIB files are to maintain the inode numbers in aufs
(cf. struct.txt and aufs manual in aufs-util.git).
XINO file contains just a sequence of the inode numbers, and their
offset in the file is real_inum x sizeof(inum). So the size is limited
by s_maxbytes of the filesystem where XINO file is located. In order to
support the larger inum, aufs stores XINO files as an internal array.
Sometimes the size of XINO file can be a problem, ie. too big,
particularly when XINO files are located on tmpfs. In this case, another
separate patch tmpfs-ino.patch in aufs4-standalone.git is recommended
(as well as vfs-ino.patch). The patch makes tmpfs to maintain inode
number within itself and suppress its discontiguous distribution.
See also the document in next commit.
Signed-off-by:
J. R. Okajima <hooanon05g@gmail.com>
fs/aufs/hbl.h
0 → 100644
fs/aufs/xino.c
0 → 100644
This diff is collapsed.
Please register or sign in to comment