From 5396d57b1a6de316ff004c5f6f9981f6145c783f Mon Sep 17 00:00:00 2001 From: Liang Zhen Date: Tue, 3 Jul 2012 17:04:19 +0800 Subject: [PATCH] LU-1594 ldlm: disable LUSTRE_TRACKS_LOCK_EXP_REFS Disable lock export refcount, it's supposed to expose bug(20498) but we didn't see it for two years already, disable it will save 28 bytes for each ldlm_lock and decrease compute overhead. Signed-off-by: Liang Zhen Change-Id: I385c5e9d5052eb14b23bbf27003bf499e5b51576 Reviewed-on: http://review.whamcloud.com/3260 Reviewed-by: Mike Pershin Reviewed-by: Jinshan Xiong Tested-by: Hudson Tested-by: Maloo Reviewed-by: Andreas Dilger --- lustre/include/lustre_dlm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/lustre_dlm.h b/lustre/include/lustre_dlm.h index 2722cc0..f70034a 100644 --- a/lustre/include/lustre_dlm.h +++ b/lustre/include/lustre_dlm.h @@ -585,7 +585,7 @@ struct ldlm_interval_tree { struct interval_node *lit_root; /* actually ldlm_interval */ }; -#define LUSTRE_TRACKS_LOCK_EXP_REFS (1) +#define LUSTRE_TRACKS_LOCK_EXP_REFS (0) /* Cancel flag. */ typedef enum { -- 1.8.3.1