diff options
| author | Raghavendra G <raghavendra@gluster.com> | 2009-09-21 09:50:48 +0000 |
|---|---|---|
| committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-22 06:14:11 -0700 |
| commit | 3c5d05b42708e77e161eda4018b42484f36b1436 (patch) | |
| tree | e89cd1fdb29486557c8f9751f06e938a282a0959 /libglusterfsclient | |
| parent | 02f0b705e87f9cf50e7384520b49a54fc95e7b1e (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 'libglusterfsclient')
0 files changed, 0 insertions, 0 deletions
