diff options
author | Anand V. Avati <avati@dev.gluster.com> | 2009-12-06 13:51:03 -0800 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-12-06 13:51:03 -0800 |
commit | 2bee3fb30bb05e5c6b9af9cbbe0b10deba0db790 (patch) | |
tree | e96c3eb52ca951f7b246668eb14ac0847faf551a | |
parent | c50bc71035d87b5df77f6331ced6229af5508a10 (diff) |
Revert "performance/write-behind: Changed default value of option disable-till to 0"
This reverts commit e6c35f74ff4a204cf016ebf201a2630b331f9434.
This commit is found to trigger spurious self heal by causing flush and writev to get
reordered. Reverting as a workaround.
-rw-r--r-- | xlators/performance/write-behind/src/write-behind.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/performance/write-behind/src/write-behind.c b/xlators/performance/write-behind/src/write-behind.c index fd4f88a6701..e761740f6cf 100644 --- a/xlators/performance/write-behind/src/write-behind.c +++ b/xlators/performance/write-behind/src/write-behind.c @@ -2460,7 +2460,7 @@ init (xlator_t *this) /* configure 'options aggregate-size <size>' */ conf->aggregate_size = WB_AGGREGATE_SIZE; - conf->disable_till = 0; + conf->disable_till = 1; ret = dict_get_str (options, "disable-for-first-nbytes", &str); if (ret == 0) { |