diff options
| author | Anand Avati <avati@gluster.com> | 2010-05-13 12:43:00 +0000 | 
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2010-05-13 12:12:35 -0700 | 
| commit | 16f0d3b9da3a0b21204cd8fc7ad2139a6f58ee90 (patch) | |
| tree | f704ebbfe43eca9aef04f9bbf4f5925738162732 /xlators/performance/write-behind | |
| parent | 553b13789cc7c9a76cbac67d962763396f224165 (diff) | |
write-behind: update default values for better small file performance
Signed-off-by: Anand V. Avati <avati@blackhole.gluster.com>
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 898 (small file performance enhancements)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=898
Diffstat (limited to 'xlators/performance/write-behind')
| -rw-r--r-- | xlators/performance/write-behind/src/write-behind.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/performance/write-behind/src/write-behind.c b/xlators/performance/write-behind/src/write-behind.c index 1402e5c44ac..883d25e9666 100644 --- a/xlators/performance/write-behind/src/write-behind.c +++ b/xlators/performance/write-behind/src/write-behind.c @@ -2506,7 +2506,7 @@ init (xlator_t *this)          /* configure 'options aggregate-size <size>' */          conf->aggregate_size = WB_AGGREGATE_SIZE; -        conf->disable_till = 1; +        conf->disable_till = 0;          ret = dict_get_str (options, "disable-for-first-nbytes",                               &str);          if (ret == 0) { @@ -2560,7 +2560,7 @@ init (xlator_t *this)          }          /* configure 'option flush-behind <on/off>' */ -        conf->flush_behind = 0; +        conf->flush_behind = 1;          ret = dict_get_str (options, "flush-behind",                               &str);          if (ret == 0) {  | 
