From 64f41b962b643b966e376a10a16671c569bf6299 Mon Sep 17 00:00:00 2001 From: Poornima G Date: Fri, 12 May 2017 10:27:28 +0530 Subject: 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 Reviewed-on: https://review.gluster.org/17261 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Jeff Darcy --- xlators/performance/nl-cache/src/nl-cache.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators/performance/nl-cache/src/nl-cache.c') 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", }, -- cgit