From 9fc8f6417134e685db4d6caf920e3fb2252a9c5d Mon Sep 17 00:00:00 2001 From: dzogin Date: Thu, 20 Aug 2009 22:41:06 +0000 Subject: [PATCH] b=20146 i=alex.zhuravlev i=johann Description: Increase of the size of the LDLM resource hash. Details : Bump up RES_HASH_BITS=12. Modified Files: Tag: b_release_1_8_1 lustre/ChangeLog lustre/include/lustre_dlm.h --- lustre/ChangeLog | 5 +++++ lustre/include/lustre_dlm.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 5dc83ec..2cccdda 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -16,6 +16,11 @@ TBD Sun Microsystems, Inc. used in production. Severity : normal +Bugzilla : 20146 +Description: Increase of the size of the LDLM resource hash. +Details : Bump up RES_HASH_BITS=12. + +Severity : normal Bugzilla : 19934 Description: correctly send lsm on open replay Details : MDS is trust to LSM size on replay open, but client can set wrong size diff --git a/lustre/include/lustre_dlm.h b/lustre/include/lustre_dlm.h index cb635f9..5fa1d63 100644 --- a/lustre/include/lustre_dlm.h +++ b/lustre/include/lustre_dlm.h @@ -454,7 +454,7 @@ static inline int ns_connect_lru_resize(struct ldlm_namespace *ns) * */ -#define RES_HASH_BITS 10 +#define RES_HASH_BITS 12 #define RES_HASH_SIZE (1UL << RES_HASH_BITS) #define RES_HASH_MASK (RES_HASH_SIZE - 1) -- 1.8.3.1