From 410b1092e690c4e89d95d8b136884df6fcf5a1a8 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Wed, 14 Mar 2012 17:05:23 +0530 Subject: cluster/afr: Perform conservative merge on dir with xattr split-brain Change-Id: I314cf7bbc8a451e42b6addf367f55e431ab0a85c BUG: 802637 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.com/2945 Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- 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 56ab2efd084..6c33d5085db 100644 --- a/xlators/cluster/afr/src/afr-self-heal-common.h +++ b/xlators/cluster/afr/src/afr-self-heal-common.h @@ -115,4 +115,7 @@ afr_impunge_frame_create (call_frame_t *frame, xlator_t *this, call_frame_t **impunge_frame); void afr_sh_reset (call_frame_t *frame, xlator_t *this); +int +afr_get_no_xattr_dir_read_child (xlator_t *this, int32_t *success_children, + struct iatt *bufs); #endif /* __AFR_SELF_HEAL_COMMON_H__ */ -- cgit