summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/dht/src/dht-common.h
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-04-21 04:20:13 +0000
committerAnand Avati <avati@gluster.com>2011-05-31 21:54:13 -0700
commitc52f66ee096c9c4fb6384427e1b5435ba5718990 (patch)
tree0b2230151e847b78aae0d31b3bd6a3158e4d02f7 /xlators/cluster/dht/src/dht-common.h
parent38b5f930f05b4291af0609f3babc7f48d7a29f22 (diff)
cluster/distribute: corrected layout mismatch handling logic
Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Anand Avati <avati@gluster.com> BUG: 2281 (I/O operations exit when add-brick is done) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2281
Diffstat (limited to 'xlators/cluster/dht/src/dht-common.h')
-rw-r--r--xlators/cluster/dht/src/dht-common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/cluster/dht/src/dht-common.h b/xlators/cluster/dht/src/dht-common.h
index 0a39da972..edb7f926f 100644
--- a/xlators/cluster/dht/src/dht-common.h
+++ b/xlators/cluster/dht/src/dht-common.h
@@ -132,6 +132,10 @@ struct dht_local {
/*Marker Related*/
struct marker_str marker;
+
+ /* flag used to make sure we need to return estale in
+ {lookup,revalidate}_cbk */
+ char return_estale;
};
typedef struct dht_local dht_local_t;