[GFS2] Use slab properly with glocks
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 30 Aug 2006 14:36:52 +0000 (10:36 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 30 Aug 2006 14:36:52 +0000 (10:36 -0400)
commitec45d9f583b3663f90a7c5c559fd13e6e4c56ad5
tree8248788ed2d2f1cb0ffc6b7180da3366b6773d62
parent5e2b0613ed9f9641937dd5948051631249447c57
[GFS2] Use slab properly with glocks

We can take advantage of the slab allocator to ensure that all the list
heads and the spinlock (plus one or two other fields) are initialised
by slab to speed up allocation of glocks.

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