e7a346
From 91489431c48f6fa9bce3ee6f377bc9702602b18d Mon Sep 17 00:00:00 2001
e7a346
From: Poornima G <pgurusid@redhat.com>
e7a346
Date: Wed, 26 Apr 2017 14:07:58 +0530
e7a346
Subject: [PATCH 28/74] glusterd, parallel-readdir: Change the op-version of
e7a346
 parallel-readdir to 31100
e7a346
e7a346
Issue: Downstream 3.2 was released with op-version 31001, parallel-readdir
e7a346
feature in upstream was released in 3.10 and hence with op-version 31000.
e7a346
With this, parallel-readdir will be allowed in 3.2 cluster/clients as well.
e7a346
But 3.2 didn't have parallel-readdir feature backported.
e7a346
e7a346
Fix:
e7a346
Increase the op-version of parallel-readdir feature only in downstream
e7a346
to 31100(3.3 highest op-version)
e7a346
e7a346
Label: DOWNSTREAM ONLY
e7a346
e7a346
Change-Id: I2640520985627f3a1cb4fb96e28350f8bb9b146c
e7a346
Signed-off-by: Poornima G <pgurusid@redhat.com>
e7a346
Reviewed-on: https://code.engineering.redhat.com/gerrit/104403
e7a346
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
e7a346
Tested-by: Atin Mukherjee <amukherj@redhat.com>
e7a346
---
e7a346
 xlators/mgmt/glusterd/src/glusterd-volume-set.c | 2 +-
e7a346
 1 file changed, 1 insertion(+), 1 deletion(-)
e7a346
e7a346
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
e7a346
index 93ef85c..9729767 100644
e7a346
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
e7a346
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
e7a346
@@ -3376,7 +3376,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
e7a346
           .option      = "parallel-readdir",
e7a346
           .value       = "off",
e7a346
           .type        = DOC,
e7a346
-          .op_version  = GD_OP_VERSION_3_10_0,
e7a346
+          .op_version  = GD_OP_VERSION_3_11_0,
e7a346
           .validate_fn = validate_parallel_readdir,
e7a346
           .description = "If this option is enabled, the readdir operation "
e7a346
                          "is performed in parallel on all the bricks, thus "
e7a346
-- 
e7a346
1.8.3.1
e7a346