summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.h
diff options
context:
space:
mode:
authorPranith Kumar K <pranithk@gluster.com>2010-08-30 01:16:05 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-08-30 02:52:19 -0700
commit27f39a7c9d10e836295ae4ad1a88d1f0a911079f (patch)
tree5c871ace1a6fd1c608eb5175d2a5e64abb3378e5 /xlators/mgmt/glusterd/src/glusterd-volgen.h
parenta2dd1e8702eb8dc7234d8262e34182adf1f0573c (diff)
mgmt/glusterd: remove volfile, brick file upon remove-brick
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1475 (glusterd should delete brick related files upon remove brick) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1475
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.h b/xlators/mgmt/glusterd/src/glusterd-volgen.h
index 24823d59828..0ec8cc7691d 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.h
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.h
@@ -123,6 +123,10 @@
int
glusterd_create_volfiles (glusterd_volinfo_t *volinfo);
+int
+glusterd_delete_volfile (glusterd_volinfo_t *volinfo,
+ glusterd_brickinfo_t *brickinfo);
+
int32_t
glusterd_default_xlator_options (glusterd_volinfo_t *volinfo);