From 077185afe35350aae03bac0d25fbebcd8a3e1c72 Mon Sep 17 00:00:00 2001 From: Krutika Dhananjay Date: Tue, 17 Mar 2015 16:43:00 +0530 Subject: cluster/afr: Make read child match check in afr optional Backport of: http://review.gluster.org/#/c/9917 Having this particular check which was introduced by commit bb2df4e63fa8a5d65f18b4a5efc757e8d475fbff causes a drop in performance in readdirp. So the behavior is made configurable with this patch. Change-Id: I9012a6bb955229a0cbb48f06e4e2edc0782dfead BUG: 1202675 Signed-off-by: Krutika Dhananjay Reviewed-on: http://review.gluster.org/9924 Reviewed-by: Pranith Kumar Karampuri Reviewed-by: Atin Mukherjee Tested-by: Gluster Build System Reviewed-by: Niels de Vos --- libglusterfs/src/globals.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libglusterfs') diff --git a/libglusterfs/src/globals.h b/libglusterfs/src/globals.h index 3d2cdc306c1..3eceb4bb6df 100644 --- a/libglusterfs/src/globals.h +++ b/libglusterfs/src/globals.h @@ -34,10 +34,12 @@ */ #define GD_OP_VERSION_MIN 1 /* MIN is the fresh start op-version, mostly should not change */ -#define GD_OP_VERSION_MAX 30501 /* MAX VERSION is the maximum count in VME +#define GD_OP_VERSION_MAX 30504 /* MAX VERSION is the maximum count in VME table, should keep changing with introduction of newer versions */ +#define GD_OP_VERSION_3_5_4 30504 + #include "xlator.h" /* THIS */ -- cgit