diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-12-28 06:07:48 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-12-28 04:39:24 -0800 |
commit | 3bcf8d4ce67654e2b5648ae11aaeb2e49dbcfa95 (patch) | |
tree | 3c2b0b8c706dd622ba50586da6446af71700be08 /xlators/storage/posix | |
parent | 9658e13bd91849f75d968376aae5b937aabec512 (diff) |
cluster/afr: Allocate diff algorithm loop_state structures only once.
Instead of CALLOC'ing a loop_state structure at the beginning
of every loop, keep a table of allocated structures and reuse
them.
Signed-off-by: Vikas Gorur <vikas@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 320 (Improve self-heal performance)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=320
Diffstat (limited to 'xlators/storage/posix')
0 files changed, 0 insertions, 0 deletions