summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.c
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-11-24 08:45:07 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-24 06:40:00 -0800
commit9e3fddb13769288ddc13db3125b8bedf26058cdf (patch)
tree2da64c5ca49ed14b22c253d67eed800533bf1e94 /xlators/cluster/afr/src/afr.c
parent21cffbc219efc36229002e71a02b9270cfee9186 (diff)
cluster/afr: Refactored the data self-heal algorithm.
Refactored the operation of the data self-heal algorithm as: * open all fd's (if fd not supplied by caller) * lock 0-0 (if lock not supplied by caller) * fxattrop, fstat (instead of lookup) ... self heal ... * unlock (if lock not supplied by caller) * close (if fd not supplied by caller). Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 170 (Auto-heal fails on files that are open()-ed/mmap()-ed) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=170
Diffstat (limited to 'xlators/cluster/afr/src/afr.c')
0 files changed, 0 insertions, 0 deletions