diff options
author | Krutika Dhananjay <kdhananj@redhat.com> | 2015-03-17 13:16:45 +0530 |
---|---|---|
committer | Raghavendra Bhat <raghavendra@redhat.com> | 2015-03-25 01:58:53 -0700 |
commit | 6477c13c63e181dec4f034d8d25435026550d93a (patch) | |
tree | 606d8e9acbe88a90fd0b33ea6f09eb033c0c8aa1 /libglusterfs/src | |
parent | e4d8dc2e80f0683c69481c47875c01c8c3723814 (diff) |
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 <kdhananj@redhat.com>
Reviewed-on: http://review.gluster.org/9929
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r-- | libglusterfs/src/globals.h | 4 |
1 files changed, 3 insertions, 1 deletions
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" |