summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-self-heald.c
diff options
context:
space:
mode:
authorPranith Kumar K <pkarampu@redhat.com>2015-02-05 21:26:04 +0530
committerVijay Bellur <vbellur@redhat.com>2015-02-06 14:05:40 -0800
commit5e25569ed0717aa8636ad708430a823d39f9aa60 (patch)
tree46e160381b505742e984b71c2c166adb09b876c2 /xlators/cluster/afr/src/afr-self-heald.c
parent2efb36047aa11838b2cde93a3e95741e7ba40bae (diff)
cluster/afr: Re-introduce heal-timeout option
Change-Id: I87484c810006a92ed7489284b6d74e9b0aecae80 BUG: 1177601 Signed-off-by: Pranith Kumar K <pkarampu@redhat.com> Reviewed-on: http://review.gluster.org/9598 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Ravishankar N <ravishankar@redhat.com> Reviewed-by: Krutika Dhananjay <kdhananj@redhat.com> Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heald.c')
-rw-r--r--xlators/cluster/afr/src/afr-self-heald.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heald.c b/xlators/cluster/afr/src/afr-self-heald.c
index 74998b97b63..f979f992660 100644
--- a/xlators/cluster/afr/src/afr-self-heald.c
+++ b/xlators/cluster/afr/src/afr-self-heald.c
@@ -129,7 +129,7 @@ __afr_shd_healer_wait (struct subvol_healer *healer)
priv = healer->this->private;
disabled_loop:
- wait_till.tv_sec = time (NULL) + 60;
+ wait_till.tv_sec = time (NULL) + priv->shd.timeout;
while (!healer->rerun) {
ret = pthread_cond_timedwait (&healer->cond,