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