diff options
Diffstat (limited to 'xlators/performance/io-cache/src')
-rw-r--r-- | xlators/performance/io-cache/src/io-cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xlators/performance/io-cache/src/io-cache.c b/xlators/performance/io-cache/src/io-cache.c index df247c2318a..74ddf8e36a1 100644 --- a/xlators/performance/io-cache/src/io-cache.c +++ b/xlators/performance/io-cache/src/io-cache.c @@ -8,6 +8,7 @@ cases as published by the Free Software Foundation. */ +#include <math.h> #include "glusterfs.h" #include "logging.h" #include "dict.h" @@ -2155,7 +2156,7 @@ struct volume_options options[] = { { .key = {"cache-size"}, .type = GF_OPTION_TYPE_SIZET, .min = 4 * GF_UNIT_MB, - .max = 32 * GF_UNIT_GB, + .max = INFINITY, .default_value = "32MB", .description = "Size of the read cache." }, |