diff options
author | Ravishankar N <ravishankar@redhat.com> | 2019-08-22 17:27:22 +0530 |
---|---|---|
committer | Ravishankar N <ravishankar@redhat.com> | 2019-08-30 05:04:56 +0000 |
commit | 1a37c7f41ece9d6273568aa0ae196fb38d90ada3 (patch) | |
tree | 996013ace25d8ef6feee8cc9279f60ad370d432f /xlators/cluster/afr/src/afr.h | |
parent | b85d550a552d485f4a7f1eedbc00bdf1f67d6263 (diff) |
afr: wake up index healer threads
...whenever shd is re-enabled after disabling or there is a change in
`cluster.heal-timeout`, without needing to restart shd or waiting for the
current `cluster.heal-timeout` seconds to expire.
See BZ 1743988 for more details.
Change-Id: Ia5ebd7c8e9f5b54cba3199c141fdd1af2f9b9bfe
fixes: bz#1747301
Reported-by: Glen Kiessling <glenk1973@hotmail.com>
Signed-off-by: Ravishankar N <ravishankar@redhat.com>
(cherry picked from commit 600ba94183333c4af9b4a09616690994fd528478)
Diffstat (limited to 'xlators/cluster/afr/src/afr.h')
-rw-r--r-- | xlators/cluster/afr/src/afr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h index c066099d5d3..a3f2942b317 100644 --- a/xlators/cluster/afr/src/afr.h +++ b/xlators/cluster/afr/src/afr.h @@ -1351,4 +1351,7 @@ afr_handle_replies_quorum(call_frame_t *frame, xlator_t *this); gf_boolean_t afr_ta_dict_contains_pending_xattr(dict_t *dict, afr_private_t *priv, int child); + +void +afr_selfheal_childup(xlator_t *this, afr_private_t *priv); #endif /* __AFR_H__ */ |