diff options
author | Poornima G <pgurusid@redhat.com> | 2017-05-12 10:27:28 +0530 |
---|---|---|
committer | Jeff Darcy <jeff@pl.atyp.us> | 2017-05-15 12:18:08 +0000 |
commit | 64f41b962b643b966e376a10a16671c569bf6299 (patch) | |
tree | d142a87b8644cc916276320265d9e9129d82fe31 /xlators | |
parent | ba0fc77947c9e873350b58a0e3e93ab51cc56b37 (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.
Change-Id: I4337a3789a2d0d5cc8e2bf687a22536c97608461
BUG: 1442569
Signed-off-by: Poornima G <pgurusid@redhat.com>
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>
Diffstat (limited to 'xlators')
-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 675b5de24bf..26c09d7d89b 100644 --- a/xlators/performance/nl-cache/src/nl-cache.c +++ b/xlators/performance/nl-cache/src/nl-cache.c @@ -762,7 +762,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", @@ -770,7 +769,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", }, |