summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.h
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-11-30 02:27:12 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-30 02:53:41 -0800
commitd21e0108638bdde5f46361aadb370061293c8146 (patch)
tree1bbcf39a250b06b6a3e9619963c085a85ce67431 /xlators/cluster/afr/src/afr.h
parent357e464ffee8cbed84e0c34727b9226adbdb7bd2 (diff)
cluster/afr: Refactored lookup_cbk and introduce precedence of errors.
Error handling in afr_lookup_cbk was faulty because it did not give priority to errors such as ESTALE over ENOENT, and ENOENT over other errors. This patch fixes that, and also breaks up afr_lookup_cbk into multiple logical functions. Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 205 ([ glusterfs 2.0.6rc4 ] - Hard disk failure not handled correctly) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=205
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
0 files changed, 0 insertions, 0 deletions