summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2013-07-08 16:06:31 +0530
committerAnand Avati <avati@redhat.com>2013-07-11 17:00:49 -0700
commit377eb7c1f8d661405d80f38af2048b588d414ae9 (patch)
treeb719a0b22efa04933f208b366ca96aee5f498066
parent97594853f258d4e4ea0a71b41ba20fdc899af55c (diff)
glusterd: Correct op-version of some options
Some of the options have been backported to release-3.3 branch and hence should have their op-version reduced. Some other options had op-version incorrectly set as 1. Change-Id: If40325b7b2da7aa36f90261024117cd18cf51ef0 BUG: 981278 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: http://review.gluster.org/5320 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index cca1f9f49..df3aa9639 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -376,7 +376,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
},
{ .key = "cluster.readdir-optimize",
.voltype = "cluster/distribute",
- .op_version = 2,
+ .op_version = 1,
.flags = OPT_FLAG_CLIENT_OPT
},
{ .key = "cluster.nufa",
@@ -518,7 +518,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{ .key = "cluster.stripe-coalesce",
.voltype = "cluster/stripe",
.option = "coalesce",
- .op_version = 2,
+ .op_version = 1,
.flags = OPT_FLAG_CLIENT_OPT
},
@@ -620,11 +620,11 @@ struct volopt_map_entry glusterd_volopt_map[] = {
},
{ .key = "performance.enable-least-priority",
.voltype = "performance/io-threads",
- .op_version = 2
+ .op_version = 1
},
{ .key = "performance.least-rate-limit",
.voltype = "performance/io-threads",
- .op_version = 1
+ .op_version = 2
},
/* Other perf xlators' options */
@@ -708,7 +708,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{ .key = "network.remote-dio",
.voltype = "protocol/client",
.option = "filter-O_DIRECT",
- .op_version = 1,
+ .op_version = 2,
.flags = OPT_FLAG_CLIENT_OPT
},
@@ -1107,7 +1107,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
.voltype = "features/read-only",
.option = "!read-only",
.value = "off",
- .op_version = 2,
+ .op_version = 1,
.flags = OPT_FLAG_CLIENT_OPT | OPT_FLAG_XLATOR_OPT
},
{ .key = "features.worm",
@@ -1119,17 +1119,17 @@ struct volopt_map_entry glusterd_volopt_map[] = {
},
{ .key = "storage.linux-aio",
.voltype = "storage/posix",
- .op_version = 2
+ .op_version = 1
},
{ .key = "storage.owner-uid",
.voltype = "storage/posix",
.option = "brick-uid",
- .op_version = 2
+ .op_version = 1
},
{ .key = "storage.owner-gid",
.voltype = "storage/posix",
.option = "brick-gid",
- .op_version = 2
+ .op_version = 1
},
{ .key = "config.memory-accounting",
.voltype = "configuration",