summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volgen.h
diff options
context:
space:
mode:
authorVenky Shankar <vshankar@redhat.com>2015-01-07 11:14:31 +0530
committerVijay Bellur <vbellur@redhat.com>2015-03-24 07:56:32 -0700
commit84db9f8271f150fbb6024186f7f681e941731280 (patch)
treec9a3fe9dceeac5f00714362af4c7f6c706b539b2 /xlators/mgmt/glusterd/src/glusterd-volgen.h
parenta37f3ca2b286732fff18f0b0897d8bb1713c89b7 (diff)
mgmt/glusterd: generate volfile for BitD
* Implement the skeleton of bit-rot xlator. Original-Author: Raghavendra Bhat <raghavendra@redhat.com> Signed-off-by: Venky Shankar <vshankar@redhat.com> Signed-off-by: Gaurav Kumar Garg <ggarg@redhat.com> Signed-off-by: Anand Nekkunti <anekkunt@redhat.com> Change-Id: If33218bdc694f5f09cb7b8097c4fdb74d7a23b2d BUG: 1170075 Reviewed-on: http://review.gluster.org/9710 Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volgen.h')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volgen.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volgen.h b/xlators/mgmt/glusterd/src/glusterd-volgen.h
index 9b6c8c20146..93381fd03eb 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volgen.h
+++ b/xlators/mgmt/glusterd/src/glusterd-volgen.h
@@ -182,6 +182,9 @@ int
build_quotad_graph (volgen_graph_t *graph, dict_t *mod_dict);
int
+build_bitd_graph (volgen_graph_t *graph, dict_t *mod_dict);
+
+int
glusterd_delete_volfile (glusterd_volinfo_t *volinfo,
glusterd_brickinfo_t *brickinfo);
int
@@ -265,10 +268,13 @@ gd_is_xlator_option (char *key);
gf_boolean_t
gd_is_boolean_option (char *key);
+
char*
volgen_get_shd_key (glusterd_volinfo_t *volinfo);
int
glusterd_volopt_validate (glusterd_volinfo_t *volinfo, dict_t *dict, char *key,
char *value, char **op_errstr);
+
+
#endif