diff options
author | Poornima G <pgurusid@redhat.com> | 2017-05-12 10:27:28 +0530 |
---|---|---|
committer | Shyamsundar Ranganathan <srangana@redhat.com> | 2017-05-26 16:34:17 +0000 |
commit | 1f1f66ef6662ee84f13d49911cdf72556b1c73ef (patch) | |
tree | 545aec5d4713a2bb08dfc160e7d630c866f2d90a /xlators/performance | |
parent | d9a0b2fe129610474d7aaf69e34a8905795a8136 (diff) |
nl-cache: Remove the max limit for nl-cache-limit and nl-cache-timeout
The max limit is better unset when arbitrary. Otherwise in the future
if max has to be changed, it can break backward compatility.
>Reviewed-on: https://review.gluster.org/17261
>Smoke: Gluster Build System <jenkins@build.gluster.org>
>NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
>CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
>Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
>(cherry picked from commit 64f41b962b643b966e376a10a16671c569bf6299)
Change-Id: I4337a3789a2d0d5cc8e2bf687a22536c97608461
BUG: 1453152
Signed-off-by: Poornima G <pgurusid@redhat.com>
Reviewed-on: https://review.gluster.org/17400
Smoke: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Shyamsundar Ranganathan <srangana@redhat.com>
Diffstat (limited to 'xlators/performance')
-rw-r--r-- | xlators/performance/nl-cache/src/nl-cache.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/performance/nl-cache/src/nl-cache.c b/xlators/performance/nl-cache/src/nl-cache.c index 295d5f67515..8a130dc2355 100644 --- a/xlators/performance/nl-cache/src/nl-cache.c +++ b/xlators/performance/nl-cache/src/nl-cache.c @@ -765,7 +765,6 @@ struct volume_options options[] = { { .key = {"nl-cache-limit"}, .type = GF_OPTION_TYPE_SIZET, .min = 0, - .max = 100 * GF_UNIT_MB, .default_value = "131072", .description = "the value over which caching will be disabled for" "a while and the cache is cleared based on LRU", @@ -773,7 +772,6 @@ struct volume_options options[] = { { .key = {"nl-cache-timeout"}, .type = GF_OPTION_TYPE_TIME, .min = 0, - .max = 1 * GF_DAY_IN_SECONDS, .default_value = "60", .description = "Time period after which cache has to be refreshed", }, |