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