diff options
author | Anand Avati <avati@gluster.com> | 2010-05-13 12:53:05 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-05-13 12:12:12 -0700 |
commit | 8ed739a72a43242083afeccdedda079ff939f714 (patch) | |
tree | 6af480e590900ab82fc83981074e0c2a69b7de41 /xlators | |
parent | 2a0398dee8521704b90d3f1776a5e380bf8ac5b3 (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')
-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 90a889c05b4..bd66a7ad5f3 100644 --- a/xlators/performance/write-behind/src/write-behind.c +++ b/xlators/performance/write-behind/src/write-behind.c @@ -2523,7 +2523,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) { @@ -2577,7 +2577,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) { |