diff options
author | Vikas Gorur <vikas@gluster.com> | 2009-11-24 08:45:07 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2009-11-24 06:40:00 -0800 |
commit | 9e3fddb13769288ddc13db3125b8bedf26058cdf (patch) | |
tree | 2da64c5ca49ed14b22c253d67eed800533bf1e94 /transport | |
parent | 21cffbc219efc36229002e71a02b9270cfee9186 (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 'transport')
0 files changed, 0 insertions, 0 deletions