diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2008-09-18 14:49:32 +0200 |
---|---|---|
committer | Steven Whitehouse <swhiteho@redhat.com> | 2008-09-18 14:49:32 +0200 |
commit | 37ec89e83c4ca98323fe74f139301ff3949cfdb6 (patch) | |
tree | 5bb249dcfdc38f06ef1d363f099f9f88e23043e7 /fs/gfs2/glock.h | |
parent | GFS2: GFS2 will panic if you misspell any mount options (diff) | |
download | linux-37ec89e83c4ca98323fe74f139301ff3949cfdb6.tar.xz linux-37ec89e83c4ca98323fe74f139301ff3949cfdb6.zip |
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>
Diffstat (limited to 'fs/gfs2/glock.h')
0 files changed, 0 insertions, 0 deletions