summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrishnan Parthasarathi <kp@gluster.com>2011-11-10 11:09:56 +0530
committerAnand Avati <avati@gluster.com>2011-11-23 23:47:22 -0800
commitb21d430729c45990492703145c075940e6b1c681 (patch)
treea4b78cd095505dc24d1b135d72d5dca7803bbfcd
parent3b2febc1c4b1b0f8d473e4e2503ffdff54236c9b (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> Reviewed-on: http://review.gluster.com/745 Reviewed-by: Anand Avati <avati@gluster.com>
-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 5ea7bcc2f4f..2d37eaad51f 100644
--- a/xlators/cluster/afr/src/afr-self-heal-common.c
+++ b/xlators/cluster/afr/src/afr-self-heal-common.c
@@ -2182,6 +2182,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);