summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs.h
diff options
context:
space:
mode:
authorVikas Gorur <vikas@gluster.com>2009-12-03 05:37:05 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-12-03 03:44:05 -0800
commit3208d63c0ffd1735bc95c6986b2a3ddd96ba71d6 (patch)
treed63dc71b86992cbb605b614d11279f99b0b2b9f5 /libglusterfs/src/glusterfs.h
parent5821d2cf591789760e790d4af0575d1b9754c08d (diff)
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 <vikas@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> 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
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
-rw-r--r--libglusterfs/src/glusterfs.h5
1 files changed, 4 insertions, 1 deletions
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;