summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kp@gluster.com>2011-11-10 11:09:56 +0530
committerVijay Bellur <vijay@gluster.com>2011-11-10 05:57:15 -0800
commit2bd10960826107e829ca941d05f350541f3d0c0e (patch)
treeb585b78589d5f2ee791036ade29c278f6ccc2cbc /xlators/cluster
parent252c9e5cf2e863ef13b2be03c075822ce67054dd (diff)
afr: Fixed backgroundness detection in self-heal algo.
Change-Id: I9888d8a0b86fdaf6589885766f2de7222d8c8ba2 BUG: 3802 Reviewed-on: http://review.gluster.com/705 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Pranith Kumar Karampuri <pranithk@gluster.com>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c
index 449c386b722..377c72a88f2 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.c
+++ b/xlators/cluster/afr/src/afr-self-heal-common.c
@@ -2198,6 +2198,7 @@ afr_self_heal (call_frame_t *frame, xlator_t *this, inode_t *inode)
} else {
local->self_heal.background = _gf_false;
+ sh->background = _gf_false;
}
}
UNLOCK (&priv->lock);