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