summaryrefslogtreecommitdiffstats
path: root/booster
diff options
context:
space:
mode:
authorRaghavendra G <raghavendra@gluster.com>2009-09-21 09:51:49 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-09-22 06:14:26 -0700
commitf86858c3be2ad5b4f9031625e3678528d9f4c6c1 (patch)
tree7e54b82b2a8c5d7c495d376ab20eebacb1c0ba03 /booster
parent6d6e22cf3cdb4f2f1f21863ab19f9b36750bba04 (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