diff options
author | Raghavendra G <raghavendra@gluster.com> | 2009-09-21 09:51:21 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-09-22 06:14:22 -0700 |
commit | 6d6e22cf3cdb4f2f1f21863ab19f9b36750bba04 (patch) | |
tree | df039092bdd75d95be2a943b9fce85572fa8034d /booster/src/booster.c | |
parent | 4749db6e47ad0fa624e49c5ed3766c77335f68c7 (diff) |
performance/write-behind: reduce list-traversal during wb_mark_unwinds
- don't traverse entire request list to get the window-size, instead break when current
window size becomes greater than configured limit.
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/src/booster.c')
0 files changed, 0 insertions, 0 deletions