summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.h
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-11-24 04:46:35 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-24 04:36:41 -0800
commit1cd2e389020b8713d45dce44df9f473622109b0d (patch)
tree925aeee240b8b0be08af76d8092a84b21fde15ee /xlators/cluster/afr/src/afr.h
parent5b483cb62f00faa66e8795e24856600b961c8d4a (diff)
cluster/afr: Fix handling of revalidate lookups.
This patch does two things related to revalidate: 1) If a revalidate fails on any subvolume, the entire lookup call is failed. 2) Self-heal is not triggered on a revalidate if revalidate has failed on any subvolume. Signed-off-by: Vikas Gorur <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 389 (auto-heal fails randomly and causes "Stale NFS file handle" errors) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=389
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r--xlators/cluster/afr/src/afr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h
index bde151866bf..2d497afe1d8 100644
--- a/xlators/cluster/afr/src/afr.h
+++ b/xlators/cluster/afr/src/afr.h
@@ -219,6 +219,7 @@ typedef struct _afr_local {
ino_t ino;
ino_t parent_ino;
dict_t *xattr;
+ gf_boolean_t is_revalidate;
} lookup;
struct {