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