diff options
author | Pranith Kumar K <pranithk@gluster.com> | 2010-07-22 05:51:16 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-07-23 04:28:57 -0700 |
commit | 80e2bfb8e4aaf5e7ae6647f2df4be1af80ee8b0a (patch) | |
tree | 0b2e6ebe74c43dc3af77a8cac2e451aea7623e81 /xlators/cluster/afr/src/afr-self-heal-common.h | |
parent | dbab7f87b6fbcc4d1f518e6f98101331df51ce4a (diff) |
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 <pranithk@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1037 (selfheal information in normal logging mode)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1037
Diffstat (limited to 'xlators/cluster/afr/src/afr-self-heal-common.h')
-rw-r--r-- | xlators/cluster/afr/src/afr-self-heal-common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heal-common.h b/xlators/cluster/afr/src/afr-self-heal-common.h index 298ac022a9b..31f02f3f9e4 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__ */ |