[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)
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

diff --cc fs/gfs2/glock.c
Simple merge
diff --cc fs/gfs2/glock.h
Simple merge
Simple merge
diff --cc fs/gfs2/main.c
Simple merge
Simple merge