From a3bd6682c3ca9e083ed0de8da8ef42bbaa86416f Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Fri, 27 May 2011 03:37:14 +0000 Subject: glusterd: add upgrade/downgrade xlator options If started with upgrade-option, the current behavior is to recreate brick volfiles, as from 3.2 marker xlator is default. downgrade option is not functionally supported. Signed-off-by: shishir gowda Signed-off-by: Anand Avati BUG: 2904 (glusterd should have upgrade/downgrade xlator options) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2904 --- xlators/mgmt/glusterd/src/glusterd-utils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h') diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h index 7cf06f7ae..e28ad27ae 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.h +++ b/xlators/mgmt/glusterd/src/glusterd-utils.h @@ -276,4 +276,8 @@ glusterd_restart_gsyncds (glusterd_conf_t *conf); int glusterd_start_gsync (char *master, char *slave, char *uuid_str, char **op_errstr); +int32_t +glusterd_recreate_bricks (glusterd_conf_t *conf); +int32_t +glusterd_handle_upgrade_downgrade (dict_t *options, glusterd_conf_t *conf); #endif -- cgit