From 85b6dcfb533c5b04038808135a581eb7ca9fd61d Mon Sep 17 00:00:00 2001 From: Venkatesh Somyajulu Date: Wed, 28 Aug 2013 17:39:23 +0530 Subject: cluster/afr: Improvement in logging of self heal completion status Additional information for source and sinks are added. Change-Id: I1704956ff86ac3ae36744efe7499c1d1c43faeaf BUG: 968301 Signed-off-by: Venkatesh Somyajulu Reviewed-on: http://review.gluster.org/5638 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- xlators/cluster/afr/src/afr.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'xlators/cluster/afr/src/afr.h') diff --git a/xlators/cluster/afr/src/afr.h b/xlators/cluster/afr/src/afr.h index 2023613f8..70c5a96a7 100644 --- a/xlators/cluster/afr/src/afr.h +++ b/xlators/cluster/afr/src/afr.h @@ -180,6 +180,7 @@ typedef enum { AFR_SELF_HEAL_NOT_ATTEMPTED, AFR_SELF_HEAL_STARTED, AFR_SELF_HEAL_FAILED, + AFR_SELF_HEAL_SYNC_BEGIN, } afr_self_heal_status; typedef struct { @@ -294,6 +295,8 @@ struct afr_self_heal_ { afr_post_remove_call_t post_remove_call; char *data_sh_info; + char *metadata_sh_info; + loc_t parent_loc; call_frame_t *orig_frame; call_frame_t *old_loop_frame; -- cgit