diff options
author | Hari Gowtham <hgowtham@redhat.com> | 2019-05-02 18:33:34 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2019-05-27 07:50:24 +0000 |
commit | e1cc4275583dfd8ae8d0433587f39854c1851794 (patch) | |
tree | 5b09910701f803bbc4355f537a698a017513f70c /xlators/mgmt/glusterd/src/glusterd-utils.h | |
parent | cce775726af28c602d99f73a65439a2564790381 (diff) |
glusterd/tier: remove tier related code from glusterd
The handler functions are pointed to dummy functions.
The switch case handling for tier also have been moved to
point default case to avoid issues, if reintroduced.
The tier changes in DHT still remain as such.
updates: bz#1693692
Change-Id: I80d80c9a3eb862b4440a36b31ae82b2e9d92e4dc
Signed-off-by: Hari Gowtham <hgowtham@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.h b/xlators/mgmt/glusterd/src/glusterd-utils.h index ae4bc5e8ecf..9679c8b80db 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.h +++ b/xlators/mgmt/glusterd/src/glusterd-utils.h @@ -284,17 +284,6 @@ int glusterd_brick_stop(glusterd_volinfo_t *volinfo, glusterd_brickinfo_t *brickinfo, gf_boolean_t del_brick); -gf_boolean_t -glusterd_is_tier_daemon_running(glusterd_volinfo_t *volinfo); - -int32_t -glusterd_add_tierd_to_dict(glusterd_volinfo_t *volinfo, dict_t *dict, - int32_t count); - -int -glusterd_op_tier_status(dict_t *dict, char **op_errstr, dict_t *rsp_dict, - glusterd_op_t op); - int glusterd_is_defrag_on(glusterd_volinfo_t *volinfo); @@ -441,11 +430,6 @@ glusterd_get_trusted_client_filepath(char *filepath, int glusterd_restart_rebalance(glusterd_conf_t *conf); -int32_t -glusterd_create_sub_tier_volinfo(glusterd_volinfo_t *volinfo, - glusterd_volinfo_t **dup_volinfo, - gf_boolean_t is_hot_tier, - const char *new_name); int glusterd_restart_rebalance_for_volume(glusterd_volinfo_t *volinfo); @@ -506,8 +490,6 @@ glusterd_volume_status_copy_to_op_ctx_dict(dict_t *aggr, dict_t *rsp_dict); int glusterd_volume_rebalance_use_rsp_dict(dict_t *aggr, dict_t *rsp_dict); int -glusterd_volume_tier_use_rsp_dict(dict_t *aggr, dict_t *rsp_dict); -int glusterd_volume_heal_use_rsp_dict(dict_t *aggr, dict_t *rsp_dict); int glusterd_use_rsp_dict(dict_t *aggr, dict_t *rsp_dict); @@ -616,12 +598,6 @@ gf_boolean_t gd_should_i_start_rebalance(glusterd_volinfo_t *volinfo); int -glusterd_is_tierd_enabled(glusterd_volinfo_t *volinfo); - -int -glusterd_is_tierd_supposed_to_be_enabled(glusterd_volinfo_t *volinfo); - -int glusterd_is_volume_quota_enabled(glusterd_volinfo_t *volinfo); int @@ -789,21 +765,10 @@ int glusterd_volume_get_rebalance_status_str(glusterd_volinfo_t *volinfo, char *rebal_status_str); -int -glusterd_volume_get_hot_tier_type_str(glusterd_volinfo_t *volinfo, - char **hot_tier_type_str); - -int -glusterd_volume_get_cold_tier_type_str(glusterd_volinfo_t *volinfo, - char **cold_tier_type_str); - void glusterd_list_add_order(struct cds_list_head *new, struct cds_list_head *head, int (*compare)(struct cds_list_head *, struct cds_list_head *)); -int -glusterd_disallow_op_for_tier(glusterd_volinfo_t *volinfo, glusterd_op_t op, - int cmd); struct rpc_clnt * glusterd_defrag_rpc_get(glusterd_defrag_info_t *defrag); |