summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volume-set.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-set.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index 75ec0026ff9..f94c5bca40c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -1602,6 +1602,11 @@ struct volopt_map_entry glusterd_volopt_map[] = {
.type = NO_DOC,
.op_version = 3
},
+ { .key = "changelog.changelog-barrier-timeout",
+ .voltype = "features/changelog",
+ .value = BARRIER_TIMEOUT,
+ .op_version = GD_OP_VERSION_3_6_0,
+ },
{ .key = "features.barrier",
.voltype = "features/barrier",
.value = "disable",
@@ -1609,7 +1614,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
},
{ .key = "features.barrier-timeout",
.voltype = "features/barrier",
- .value = "120",
+ .value = BARRIER_TIMEOUT,
.op_version = GD_OP_VERSION_3_6_0,
},
{ .key = "cluster.op-version",