From 3208d63c0ffd1735bc95c6986b2a3ddd96ba71d6 Mon Sep 17 00:00:00 2001 From: Vikas Gorur Date: Thu, 3 Dec 2009 05:37:05 +0000 Subject: core: Change replicate trash directory name to ".landfill". The earlier name ".trash" conflicts with the name used by the trash translator. Signed-off-by: Vikas Gorur Signed-off-by: Anand V. Avati BUG: 227 (replicate selfheal does not remove directory with contents in it) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=227 --- libglusterfs/src/glusterfs.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libglusterfs/src') diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h index f9cc6152e46..42084ba3ab9 100644 --- a/libglusterfs/src/glusterfs.h +++ b/libglusterfs/src/glusterfs.h @@ -202,8 +202,11 @@ typedef enum { #define GF_SET_DIR_ONLY 0x4 #define GF_SET_EPOCH_TIME 0x8 /* used by afr dir lookup selfheal */ +/* Directory into which replicate self-heal will move deleted files and + directories into. The storage/posix janitor thread will periodically + clean up this directory */ -#define GF_REPLICATE_TRASH_DIR ".trash" +#define GF_REPLICATE_TRASH_DIR ".landfill" struct _xlator_cmdline_option { struct list_head cmd_args; -- cgit