[GFS2] Make glock hash locks proportional to NR_CPUS
authorSteven Whitehouse <swhiteho@redhat.com>
Sat, 9 Sep 2006 20:59:11 +0000 (16:59 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Sat, 9 Sep 2006 20:59:11 +0000 (16:59 -0400)
commit087efdd391f47305dc251a7b00dcc5d69e8c636a
treee6d74f4107b5046fb8280a33f76ad7cab1d2b992
parentff6af411ae65da95a1801668b9580c5c33f0f7d1
[GFS2] Make glock hash locks proportional to NR_CPUS

Make the number of locks used for hash chains in glock.c
proportional to NR_CPUS. Also move constants for the number
of hash chains into glock.c from incore.h since they are
not used outside of glock.c.

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