GFS2: The war on bloat
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 18 Sep 2008 12:49:32 +0000 (13:49 +0100)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 18 Sep 2008 12:49:32 +0000 (13:49 +0100)
commit37ec89e83c4ca98323fe74f139301ff3949cfdb6
tree5bb249dcfdc38f06ef1d363f099f9f88e23043e7
parentacd2c8aa02f302ed838348052e16ee575c645147
GFS2: The war on bloat

The following patch shrinks the gfs2_args structure which is embedded in
every GFS2 superblock. It cuts down the size of the options to a single
unsigned int (the 13 bits of bitfields will be rounded up to that size
by the compiler) from the current 11 unsigned ints. So on x86 thats 44
bytes shrinking to 4 bytes, in each and every GFS2 superblock.

Signed-off-by: Steven Whitehouse <swhitho@redhat.com>
fs/gfs2/incore.h