summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2015-01-31 00:32:05 +0530
committerKaushal M <kaushal@redhat.com>2015-03-09 01:53:37 -0700
commit3ceb64f3bd0919c556829c7297e67fb3ba40eaa9 (patch)
tree49925f862d991d0eb41abbb5a1d49742c5ec6e2f
parentf7f446f0a5bc37ba1096604618ab9850341959ef (diff)
mgmt/glusterd: Add bind-insecure option
Also deleted default values for disperse-self-heal-daemon and locks.trace Change-Id: Icc927d176aa10f06b40c114aa296b02dbad3a8ff BUG: 1187858 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/9516 Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaushal M <kaushal@redhat.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index e35a607cfc2..b0cf2609210 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1643,13 +1643,11 @@ struct volopt_map_entry glusterd_volopt_map[] = {
},
{ .key = "locks.trace",
.voltype = "features/locks",
- .value = "disable",
.type = NO_DOC,
.op_version = GD_OP_VERSION_3_7_0,
},
{ .key = "cluster.disperse-self-heal-daemon",
.voltype = "cluster/disperse",
- .value = "enable",
.type = NO_DOC,
.option = "self-heal-daemon",
.op_version = GD_OP_VERSION_3_7_0,
@@ -1658,6 +1656,14 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{ .key = "cluster.quorum-reads",
.voltype = "cluster/replicate",
.op_version = GD_OP_VERSION_3_7_0,
+ .flags = OPT_FLAG_CLIENT_OPT
+ },
+ { .key = "client.bind-insecure",
+ .voltype = "protocol/client",
+ .option = "client-bind-insecure",
+ .type = NO_DOC,
+ .op_version = GD_OP_VERSION_3_7_0,
+ .flags = OPT_FLAG_CLIENT_OPT
},
{ .key = NULL
}