From 6477c13c63e181dec4f034d8d25435026550d93a Mon Sep 17 00:00:00 2001 From: Krutika Dhananjay Date: Tue, 17 Mar 2015 13:16:45 +0530 Subject: cluster/afr: Make read child match check in afr optional Backport of: http://review.gluster.org/9917 Having this particular check which was introduced by commit c57c455347a72ebf0085add49ff59aae26c7a70d causes a drop in performance in readdirp. So the behavior is made configurable with this patch. Change-Id: I4a19813cfc786504340264a5a5533a0c43a1d4a4 BUG: 1202673 Signed-off-by: Krutika Dhananjay Reviewed-on: http://review.gluster.org/9929 Reviewed-by: Atin Mukherjee Tested-by: Gluster Build System Reviewed-by: Pranith Kumar Karampuri Reviewed-by: Raghavendra Bhat --- libglusterfs/src/globals.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libglusterfs/src') diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h index 44568406abf..2e4efffc243 100644 --- a/libglusterfs/src/globals.h +++ b/libglusterfs/src/globals.h @@ -36,12 +36,14 @@ */ #define GD_OP_VERSION_MIN 1 /* MIN is the fresh start op-version, mostly should not change */ -#define GD_OP_VERSION_MAX 30600 /* MAX VERSION is the maximum count in VME +#define GD_OP_VERSION_MAX 30603 /* MAX VERSION is the maximum count in VME table, should keep changing with introduction of newer versions */ #define GD_OP_VERSION_3_6_0 30600 /* Op-Version for GlusterFS 3.6.0 */ +#define GD_OP_VERSION_3_6_3 30603 /* Op-Version for GlusterFS 3.6.3 */ + #define GD_OP_VER_PERSISTENT_AFR_XATTRS GD_OP_VERSION_3_6_0 #include "xlator.h" -- cgit