[GFS2] Move glock hash table out of superblock
authorSteven Whitehouse <swhiteho@redhat.com>
Thu, 7 Sep 2006 18:40:21 +0000 (14:40 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Thu, 7 Sep 2006 18:40:21 +0000 (14:40 -0400)
commit85d1da67f7e1239afa3494d05be87da6fc3ecada
tree01508570249764d8b0e38183e1ea7e9666b34b78
parentb8547856f9c158ff70effbcfd15969c908fbe1b3
[GFS2] Move glock hash table out of superblock

There are several reasons why we want to do this:
 - Firstly its large and thus we'll scale better with multiple
   GFS2 fs mounted at the same time
 - Secondly its easier to scale its size as required (thats a plan
   for later patches)
 - Thirdly, we can use kzalloc rather than vmalloc when allocating
   the superblock (its now only 4888 bytes)
 - Fourth its all part of my plan to eventually be able to use RCU
   with the glock hash.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/glock.h
fs/gfs2/incore.h
fs/gfs2/main.c
fs/gfs2/ops_fstype.c