diff options
Diffstat (limited to 'xlators')
-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 2f259cf3da4..c91fa89a0a7 100644 --- a/xlators/performance/quick-read/src/quick-read.c +++ b/xlators/performance/quick-read/src/quick-read.c @@ -2159,6 +2159,7 @@ init (xlator_t *this) goto out; } + conf->max_file_size = 65536; ret = dict_get_str (this->options, "max-file-size", &str); if (ret == 0) { @@ -2173,7 +2174,7 @@ init (xlator_t *this) } } - conf->cache_timeout = -1; + conf->cache_timeout = 1; ret = dict_get_str (this->options, "cache-timeout", &str); if (ret == 0) { ret = gf_string2uint_base10 (str, |