summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-12-28 06:07:48 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-12-28 04:39:24 -0800
commit3bcf8d4ce67654e2b5648ae11aaeb2e49dbcfa95 (patch)
tree3c2b0b8c706dd622ba50586da6446af71700be08 /xlators/storage/posix
parent9658e13bd91849f75d968376aae5b937aabec512 (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