XFS does not use the union at the end of the inode for its fs private
data. There is 160 bytes per inode here which is wasted. Since we
manage our own inode allocations, we can do something about this
and actually not allocate that space. Saved 10Mbytes of space on
my machine this morning after nightly cron jobs had pulled inodes
into memory.
Date: Fri May 2 04:17:20 PDT 2003
Workarea: jen.americas.sgi.com:/src/lord/xfs-linux.2.4
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.x-xfs
Modid: 2.4.x-xfs:slinx:147730a
linux/fs/xfs/linux/xfs_super.c - 1.252
- Shrink the size of the slab cache used for xfs inodes to skip
the union at the end of the inode. Do our own inode initialization
to avoid the memset of the complete inode in the common code.
|