|
|
21ab4e |
From 34a38c6f061259e34263f805e7424211df58b771 Mon Sep 17 00:00:00 2001
|
|
|
21ab4e |
From: Poornima G <pgurusid@redhat.com>
|
|
|
21ab4e |
Date: Fri, 12 May 2017 10:27:28 +0530
|
|
|
21ab4e |
Subject: [PATCH 452/473] nl-cache: Remove the max limit for nl-cache-limit and
|
|
|
21ab4e |
nl-cache-timeout
|
|
|
21ab4e |
|
|
|
21ab4e |
The max limit is better unset when arbitrary. Otherwise in the future
|
|
|
21ab4e |
if max has to be changed, it can break backward compatility.
|
|
|
21ab4e |
|
|
|
21ab4e |
>Reviewed-on: https://review.gluster.org/17261
|
|
|
21ab4e |
>Smoke: Gluster Build System <jenkins@build.gluster.org>
|
|
|
21ab4e |
>NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
|
|
|
21ab4e |
>CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
|
|
|
21ab4e |
>Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
|
|
|
21ab4e |
>Signed-off-by: Poornima G <pgurusid@redhat.com>
|
|
|
21ab4e |
|
|
|
21ab4e |
Change-Id: I4337a3789a2d0d5cc8e2bf687a22536c97608461
|
|
|
21ab4e |
BUG: 1450341
|
|
|
21ab4e |
Signed-off-by: Poornima G <pgurusid@redhat.com>
|
|
|
21ab4e |
Reviewed-on: https://code.engineering.redhat.com/gerrit/106410
|
|
|
21ab4e |
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
|
|
|
21ab4e |
---
|
|
|
21ab4e |
xlators/performance/nl-cache/src/nl-cache.c | 2 --
|
|
|
21ab4e |
1 file changed, 2 deletions(-)
|
|
|
21ab4e |
|
|
|
21ab4e |
diff --git a/xlators/performance/nl-cache/src/nl-cache.c b/xlators/performance/nl-cache/src/nl-cache.c
|
|
|
21ab4e |
index 675b5de..26c09d7 100644
|
|
|
21ab4e |
--- a/xlators/performance/nl-cache/src/nl-cache.c
|
|
|
21ab4e |
+++ b/xlators/performance/nl-cache/src/nl-cache.c
|
|
|
21ab4e |
@@ -762,7 +762,6 @@ struct volume_options options[] = {
|
|
|
21ab4e |
{ .key = {"nl-cache-limit"},
|
|
|
21ab4e |
.type = GF_OPTION_TYPE_SIZET,
|
|
|
21ab4e |
.min = 0,
|
|
|
21ab4e |
- .max = 100 * GF_UNIT_MB,
|
|
|
21ab4e |
.default_value = "131072",
|
|
|
21ab4e |
.description = "the value over which caching will be disabled for"
|
|
|
21ab4e |
"a while and the cache is cleared based on LRU",
|
|
|
21ab4e |
@@ -770,7 +769,6 @@ struct volume_options options[] = {
|
|
|
21ab4e |
{ .key = {"nl-cache-timeout"},
|
|
|
21ab4e |
.type = GF_OPTION_TYPE_TIME,
|
|
|
21ab4e |
.min = 0,
|
|
|
21ab4e |
- .max = 1 * GF_DAY_IN_SECONDS,
|
|
|
21ab4e |
.default_value = "60",
|
|
|
21ab4e |
.description = "Time period after which cache has to be refreshed",
|
|
|
21ab4e |
},
|
|
|
21ab4e |
--
|
|
|
21ab4e |
1.8.3.1
|
|
|
21ab4e |
|