From 8ed739a72a43242083afeccdedda079ff939f714 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Thu, 13 May 2010 12:53:05 +0000 Subject: write-behind: update default values for better small file performance Signed-off-by: Anand V. Avati Signed-off-by: Anand V. Avati Signed-off-by: Anand V. Avati BUG: 898 (small file performance enhancements) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=898 --- xlators/performance/write-behind/src/write-behind.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/performance/write-behind/src/write-behind.c') diff --git a/xlators/performance/write-behind/src/write-behind.c b/xlators/performance/write-behind/src/write-behind.c index 90a889c05..bd66a7ad5 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 ' */ 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 ' */ - conf->flush_behind = 0; + conf->flush_behind = 1; ret = dict_get_str (options, "flush-behind", &str); if (ret == 0) { -- cgit