Re: new dentry feature in 2.1.78

Martin von Loewis (martin@mira.isdn.cs.tu-berlin.de)
Sat, 10 Jan 1998 11:31:08 +0100


> H'm... you know, I think I'm wrong. ext2_inode_info is going to be by
> far the most common type, and it's the largest. (The Unix-style file
> systems all have 13 to 15 direct and indirect block pointers in a data[]
> array, plus miscellaneous flags, and the ext2 inode has some extra info
> about block groups, allocation, and preallocation as well.)

For struct super_block, the statistics is somewhat different
336 minix_sb
232 ext2_sb
36 hpfs_sb
120 ntfs_sb
68 msdos_sb
44 isofs_sb
324 nfs_sb
180 sysv_sb
100 affs_sb
76 ufs_sb
4 romfs_sb
100 smbfs_sb
56 hfs_sb

(all in bytes, on x86) So most superblocks contain a lot of unused
memory. I don't know whether this means that they should be of
variable size, or whether one should fix the minix_sb.

Regards,
Martin