diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-09-22 01:37:59 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-22 06:13:06 -0700 |
commit | ecb8f4dfce0bfdba8d14532231a7596a73def38e (patch) | |
tree | cd18479a2e133beae7638fa3428c9fef1a7f9dee /argp-standalone/acinclude.m4 | |
parent | fd0b40a2f3e7e1c56b742c9ae081785811030a3c (diff) |
performance/write-behind: fine-tune logic of wb_mark_winds
- remove wb_mark_wind_aggregegate_size_aware, since wb_mark_wind_all does
the same work (with check for whether current aggregated data size is
greater than the configured limit before calling it). Moreover,
wb_mark_wind_aggregate_size_aware called __wb_get_aggregate_size
redundantly, thereby reducing the performance, since for small
sized large number of writes, traversing the list of requests takes
significant amount of time.
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 276 (write behind needs to be optimized.)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=276
Diffstat (limited to 'argp-standalone/acinclude.m4')
0 files changed, 0 insertions, 0 deletions