50dc83
From c283f15ac9bfb1c98ce95ed0000ebed81cd3b318 Mon Sep 17 00:00:00 2001
e7a346
From: Poornima G <pgurusid@redhat.com>
e7a346
Date: Wed, 26 Apr 2017 14:07:58 +0530
50dc83
Subject: [PATCH 16/52] 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
50dc83
index d07fc10..a31ecda 100644
e7a346
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
e7a346
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
50dc83
@@ -2718,7 +2718,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
50dc83
      .option = "parallel-readdir",
50dc83
      .value = "off",
50dc83
      .type = DOC,
50dc83
-     .op_version = GD_OP_VERSION_3_10_0,
50dc83
+     .op_version = GD_OP_VERSION_3_11_0,
50dc83
      .validate_fn = validate_parallel_readdir,
50dc83
      .description = "If this option is enabled, the readdir operation "
50dc83
                     "is performed in parallel on all the bricks, thus "
e7a346
-- 
e7a346
1.8.3.1
e7a346