summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/glock.c
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2008-09-18 13:49:32 +0100
committerSteven Whitehouse <swhiteho@redhat.com>2008-09-18 13:49:32 +0100
commit37ec89e83c4ca98323fe74f139301ff3949cfdb6 (patch)
tree5bb249dcfdc38f06ef1d363f099f9f88e23043e7 /fs/gfs2/glock.c
parentacd2c8aa02f302ed838348052e16ee575c645147 (diff)
downloadblackbird-op-linux-37ec89e83c4ca98323fe74f139301ff3949cfdb6.tar.gz
blackbird-op-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.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud