summaryrefslogtreecommitdiffstats
path: root/booster
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-09-22 01:38:37 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-22 06:13:21 -0700
commit35d1cabfd1266609ec22f11e5e4ddba13f0ffc56 (patch)
tree611b2df4c5abd0f78e836ab4d0525f435d8f2dc2 /booster
parentdb33e097111ca76f487f087d494984d45d4b3b64 (diff)
performance/write-behind: reduce traversal of request list during wb_mark_winds.
- move all the decision making code to __wb_can_wind. - don't continue traversing the request list, once we know any of the following conditions are true: * requests other than write are present in queue. * writes are happening at non-contiguous offsets. * there are no write requests, which are wound to server but not yet received the reply. * enough data is aggregated for writing. 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 'booster')
0 files changed, 0 insertions, 0 deletions