From b21d430729c45990492703145c075940e6b1c681 Mon Sep 17 00:00:00 2001 From: Krishnan Parthasarathi Date: Thu, 10 Nov 2011 11:09:56 +0530 Subject: 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 Reviewed-by: Pranith Kumar Karampuri Reviewed-on: http://review.gluster.com/745 Reviewed-by: Anand Avati --- xlators/cluster/afr/src/afr-self-heal-common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'xlators/cluster') diff --git a/xlators/cluster/afr/src/afr-self-heal-common.c b/xlators/cluster/afr/src/afr-self-heal-common.c index 5ea7bcc2f..2d37eaad5 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); -- cgit