summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr.h
diff options
context:
space:
mode:
authorAnand Avati <avati@gluster.com>2009-10-13 06:42:15 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-10-13 05:46:47 -0700
commitf085beebd03b2c8be2fa57039ad3cbcb6eaa66d3 (patch)
tree509511c56cf3c9f96b59f959f29817c86841643a /xlators/cluster/afr/src/afr.h
parentb20cee457232a88517af44ae4505361dd3a4de15 (diff)
prevent spurious unlocks from afr selfheal
afr selfheal now remembers all the nodes on which locks were successfully held and sends unlocks only to those nodes Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 112 (parallel deletion of files mounted by different clients on the same back-end hangs and/or does not completely delete) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=112
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 61f630b54..4cbb1b19c 100644
--- a/xlators/cluster/afr/src/afr.h
+++ b/xlators/cluster/afr/src/afr.h
@@ -84,6 +84,7 @@ typedef struct {
int active_source;
int active_sinks;
int *success;
+ int *locked_nodes;
fd_t *healing_fd;
int op_failed;