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