summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt
diff options
context:
space:
mode:
authorJoseph Fernandes <josferna@redhat.com>2016-01-20 22:27:33 +0530
committerDan Lambright <dlambrig@redhat.com>2016-01-26 09:16:05 -0800
commitce2c58d0fab517320059af7cea2e36e5cd246b6e (patch)
tree75f92b4d8dc5bb2672eb1fbf315bda899c96c922 /xlators/mgmt
parent9ce86c63e349eaafbd923b0b541d75e929ecbae7 (diff)
tier/dht : Default value for demote-freq, max files and mb
Default value for tier-demote-frequency is 3600 sec to avoid frequent demotions. Default value for tier-max-mb is 4000 mb Default value for tier-max-files is 10000 files Change-Id: Ie60951c478a7462c425059699ab82511aa13fa0a BUG: 1300412 Signed-off-by: Joseph Fernandes <josferna@redhat.com> Reviewed-on: http://review.gluster.org/13270 Smoke: Gluster Build System <jenkins@build.gluster.com> Tested-by: Dan Lambright <dlambrig@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'xlators/mgmt')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index ee59e7d5daa..112980c4661 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -2374,7 +2374,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
},
{ .key = "cluster.tier-demote-frequency",
.voltype = "cluster/tier",
- .value = "120",
+ .value = "3600",
.option = "tier-demote-frequency",
.op_version = GD_OP_VERSION_3_7_0,
.flags = OPT_FLAG_CLIENT_OPT,
@@ -2418,7 +2418,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{ .key = "cluster.tier-max-mb",
.voltype = "cluster/tier",
.option = "tier-max-mb",
- .value = "10000",
+ .value = "4000",
.op_version = GD_OP_VERSION_3_7_6,
.flags = OPT_FLAG_CLIENT_OPT,
.validate_fn = validate_tier,
@@ -2428,7 +2428,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
{ .key = "cluster.tier-max-files",
.voltype = "cluster/tier",
.option = "tier-max-files",
- .value = "50000",
+ .value = "10000",
.op_version = GD_OP_VERSION_3_7_6,
.flags = OPT_FLAG_CLIENT_OPT,
.validate_fn = validate_tier,