diff options
author | Joseph Fernandes <josferna@redhat.com> | 2016-01-20 22:27:33 +0530 |
---|---|---|
committer | Dan Lambright <dlambrig@redhat.com> | 2016-01-26 09:16:05 -0800 |
commit | ce2c58d0fab517320059af7cea2e36e5cd246b6e (patch) | |
tree | 75f92b4d8dc5bb2672eb1fbf315bda899c96c922 /xlators/cluster/dht/src/dht-shared.c | |
parent | 9ce86c63e349eaafbd923b0b541d75e929ecbae7 (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/cluster/dht/src/dht-shared.c')
-rw-r--r-- | xlators/cluster/dht/src/dht-shared.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/cluster/dht/src/dht-shared.c b/xlators/cluster/dht/src/dht-shared.c index d25f7d9e33b..e3e7fadca3f 100644 --- a/xlators/cluster/dht/src/dht-shared.c +++ b/xlators/cluster/dht/src/dht-shared.c @@ -1003,7 +1003,7 @@ struct volume_options options[] = { { .key = {"tier-demote-frequency"}, .type = GF_OPTION_TYPE_INT, - .default_value = "120", + .default_value = "3600", .description = "Frequency to demote files to slow tier" }, @@ -1030,11 +1030,11 @@ struct volume_options options[] = { }, { .key = {"tier-max-mb"}, .type = GF_OPTION_TYPE_INT, - .default_value = "1000", + .default_value = "4000", }, { .key = {"tier-max-files"}, .type = GF_OPTION_TYPE_INT, - .default_value = "5000", + .default_value = "10000", }, /* switch option */ { .key = {"pattern.switch.case"}, |