diff options
author | shishir gowda <shishirng@gluster.com> | 2011-05-27 04:28:15 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-05-31 22:52:09 -0700 |
commit | 37b562b1605f900927494ec501dff4190eb26097 (patch) | |
tree | 481e55fb611828025e99912581500e36e542aa99 /xlators/mgmt/glusterd/src/glusterd-utils.h | |
parent | f4c4007263255c49b00eaf62542ec2386ca60302 (diff) |
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.
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2904 (glusterd should have upgrade/downgrade xlator options)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2904
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h index 85d5b828098..380db9057f6 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.h +++ b/xlators/mgmt/glusterd/src/glusterd-utils.h @@ -276,4 +276,9 @@ glusterd_restart_gsyncds (glusterd_conf_t *conf); int glusterd_start_gsync (glusterd_volinfo_t *master_vol, char *slave, char *glusterd_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 |