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