diff options
author | Sanju Rakonde <srakonde@redhat.com> | 2018-11-30 16:16:55 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2018-12-18 04:01:52 +0000 |
commit | 0b4b111fbd80a5d400a07d61e2b99f230f9be76f (patch) | |
tree | 14cebfa5fcc3da89e7e86cfdc96b1a08acba7ebb /xlators/mgmt/glusterd/src/glusterd.h | |
parent | 9ff080382cb8c8aab561f4131c3f631e33670338 (diff) |
glusterd: migrating rebalance commands to mgmt_v3 framework
Current rebalance commands use the op_state machine framework.
Porting it to use the mgmt_v3 framework.
Change-Id: I6faf4a6335c2e2f3d54bbde79908a7749e4613e7
fixes: bz#1655827
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd.h')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd.h b/xlators/mgmt/glusterd/src/glusterd.h index 6e616f1ef8c..67867f86913 100644 --- a/xlators/mgmt/glusterd/src/glusterd.h +++ b/xlators/mgmt/glusterd/src/glusterd.h @@ -1370,6 +1370,15 @@ int glusterd_op_stage_remove_brick(dict_t *dict, char **op_errstr); int +glusterd_set_rebalance_id_in_rsp_dict(dict_t *req_dict, dict_t *rsp_dict); + +int +glusterd_mgmt_v3_op_stage_rebalance(dict_t *dict, char **op_errstr); + +int +glusterd_mgmt_v3_op_rebalance(dict_t *dict, char **op_errstr, dict_t *rsp_dict); + +int glusterd_op_stage_rebalance(dict_t *dict, char **op_errstr); int glusterd_op_rebalance(dict_t *dict, char **op_errstr, dict_t *rsp_dict); |