From 2108ee66f226a124fd2ec20692e9941ed15464a5 Mon Sep 17 00:00:00 2001 From: Anand Avati Date: Thu, 10 Mar 2011 03:21:21 +0000 Subject: afr-entry-self-heal: fixes to detected renames (gfid based) - perform expunge first (before impunge) to be able to delete renamed away files - perform readdirp instead of readdir to get gfid along with entry names - if gfid mismatch is found, expunge the entry Signed-off-by: Anand Avati Signed-off-by: Pranith Kumar K Signed-off-by: Vijay Bellur BUG: 2500 (Self Healing not working) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2500 --- xlators/cluster/afr/src/afr.h | 1 + 1 file changed, 1 insertion(+) (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 3efa484b74a..e6cd9bf4905 100644 --- a/xlators/cluster/afr/src/afr.h +++ b/xlators/cluster/afr/src/afr.h @@ -131,6 +131,7 @@ typedef struct { /* array of stat's, one for each child */ struct iatt *buf; struct iatt parentbuf; + struct iatt entrybuf; /* array of xattr's, one for each child */ dict_t **xattr; -- cgit