diff options
author | Krishnan Parthasarathi <kp@gluster.com> | 2011-11-10 11:09:56 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-11-10 05:57:15 -0800 |
commit | 2bd10960826107e829ca941d05f350541f3d0c0e (patch) | |
tree | b585b78589d5f2ee791036ade29c278f6ccc2cbc /xlators/cluster/afr/src | |
parent | 252c9e5cf2e863ef13b2be03c075822ce67054dd (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/afr/src')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-common.c | 1 |
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 449c386b7..377c72a88 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); |