aboutsummaryrefslogtreecommitdiffstats
path: root/fs/gfs2/incore.h
diff options
context:
space:
mode:
authorSteven Whitehouse <swhiteho@redhat.com>2006-09-09 16:59:11 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2006-09-09 16:59:11 -0400
commit087efdd391f47305dc251a7b00dcc5d69e8c636a (patch)
treee6d74f4107b5046fb8280a33f76ad7cab1d2b992 /fs/gfs2/incore.h
parentff6af411ae65da95a1801668b9580c5c33f0f7d1 (diff)
downloadkernel_samsung_crespo-087efdd391f47305dc251a7b00dcc5d69e8c636a.zip
kernel_samsung_crespo-087efdd391f47305dc251a7b00dcc5d69e8c636a.tar.gz
kernel_samsung_crespo-087efdd391f47305dc251a7b00dcc5d69e8c636a.tar.bz2
[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>
Diffstat (limited to 'fs/gfs2/incore.h')
-rw-r--r--fs/gfs2/incore.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/gfs2/incore.h b/fs/gfs2/incore.h
index f50ea62..64e1343 100644
--- a/fs/gfs2/incore.h
+++ b/fs/gfs2/incore.h
@@ -448,9 +448,6 @@ enum {
SDF_NOATIME = 3,
};
-#define GFS2_GL_HASH_SHIFT 13
-#define GFS2_GL_HASH_SIZE (1 << GFS2_GL_HASH_SHIFT)
-#define GFS2_GL_HASH_MASK (GFS2_GL_HASH_SIZE - 1)
#define GFS2_FSNAME_LEN 256
struct gfs2_sbd {