summaryrefslogtreecommitdiffstats
path: root/xlators/performance/quick-read/src/quick-read.c
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-10-09 12:43:36 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-09 22:48:18 -0700
commit358b284535dc7e98d9817c8f63d7659098f5e427 (patch)
treef5450d518f419a63758f8e1701263e69089e6b71 /xlators/performance/quick-read/src/quick-read.c
parentda5cf2d0209eadda7b6350205206e19253882edd (diff)
performance/quick-read: change the default option values in quick-read.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 238 (Backport quick-read to 2.0 release) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=238
Diffstat (limited to 'xlators/performance/quick-read/src/quick-read.c')
-rw-r--r--xlators/performance/quick-read/src/quick-read.c3
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 f1ca95c73..198cd2d98 100644
--- a/xlators/performance/quick-read/src/quick-read.c
+++ b/xlators/performance/quick-read/src/quick-read.c
@@ -2242,6 +2242,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) {
@@ -2256,7 +2257,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,