From 16f0d3b9da3a0b21204cd8fc7ad2139a6f58ee90 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Thu, 13 May 2010 12:43:00 +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') 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 ' */ 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 ' */ - conf->flush_behind = 0; + conf->flush_behind = 1; ret = dict_get_str (options, "flush-behind", &str); if (ret == 0) { -- cgit