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
This commit is contained in:
parent
2a0398dee8
commit
8ed739a72a
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user