From: Liang Zhen Date: Tue, 3 Jul 2012 09:04:19 +0000 (+0800) Subject: LU-1594 ldlm: disable LUSTRE_TRACKS_LOCK_EXP_REFS X-Git-Tag: 2.2.90~11 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=5396d57b1a6de316ff004c5f6f9981f6145c783f 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 --- 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 {