From 80e2bfb8e4aaf5e7ae6647f2df4be1af80ee8b0a Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Thu, 22 Jul 2010 05:51:16 +0000 Subject: custer/afr added self-heal logging in normal mode Changes are made such that self heal messages are printed (filename, type of selfheal such as data/meatadata/entry selfheal and the cause which triggered the selfheal) in the log file when run in normal mode. Signed-off-by: Pranith Kumar K Signed-off-by: Anand V. Avati BUG: 1037 (selfheal information in normal logging mode) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1037 --- xlators/cluster/afr/src/afr-self-heal-common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/cluster/afr/src/afr-self-heal-common.h') diff --git a/xlators/cluster/afr/src/afr-self-heal-common.h b/xlators/cluster/afr/src/afr-self-heal-common.h index 298ac022a..31f02f3f9 100644 --- a/xlators/cluster/afr/src/afr-self-heal-common.h +++ b/xlators/cluster/afr/src/afr-self-heal-common.h @@ -66,5 +66,8 @@ afr_sh_delta_to_xattr (afr_private_t *priv, int afr_sh_is_matrix_zero (int32_t *pending_matrix[], int child_count); +void +afr_self_heal_type_str_get (afr_self_heal_t *self_heal_p, char *str, + size_t size); #endif /* __AFR_SELF_HEAL_COMMON_H__ */ -- cgit