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