summaryrefslogtreecommitdiffstats
path: root/transport
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-09-22 01:37:59 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-22 06:13:06 -0700
commitecb8f4dfce0bfdba8d14532231a7596a73def38e (patch)
treecd18479a2e133beae7638fa3428c9fef1a7f9dee /transport
parentfd0b40a2f3e7e1c56b742c9ae081785811030a3c (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 'transport')
0 files changed, 0 insertions, 0 deletions