freebsd-nq/sys/ufs/ffs
Konstantin Belousov e1db68971e Reduce size of ufs inode.
Remove redunand i_dev and i_fs pointers, which are available as
ip->i_ump->um_dev and ip->i_ump->um_fs, and reorder members by size to
reduce padding.  To compensate added derefences, the most often i_ump
access to differentiate between UFS1 and UFS2 dinode layout is
removed, by addition of the new i_flag IN_UFS2.  Overall, this
actually reduces the amount of memory dereferences.

On 64bit machine, original struct inode size is 176, reduced to 152
bytes with the change.

Tested by:	pho (previous version)
Reviewed by:	mckusick
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2016-09-17 16:47:34 +00:00
..
ffs_alloc.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_balloc.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_extern.h Partially lift suspension when ffs_reload() finished with cgs and 2016-09-08 12:01:28 +00:00
ffs_inode.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_rawread.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_snapshot.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_softdep.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_subr.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_suspend.c Partially lift suspension when ffs_reload() finished with cgs and 2016-09-08 12:01:28 +00:00
ffs_tables.c
ffs_vfsops.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
ffs_vnops.c Reduce size of ufs inode. 2016-09-17 16:47:34 +00:00
fs.h Renumber the advertising clause. 2016-09-06 15:17:35 +00:00
softdep.h Bug 211013 reports that a write error to a UFS filesystem running 2016-08-16 21:02:30 +00:00