From 0b4b111fbd80a5d400a07d61e2b99f230f9be76f Mon Sep 17 00:00:00 2001 From: Sanju Rakonde Date: Fri, 30 Nov 2018 16:16:55 +0530 Subject: 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 --- xlators/mgmt/glusterd/src/glusterd-handler.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-handler.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index b07c6017f22..e18dfaceae2 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -3093,7 +3093,8 @@ __glusterd_handle_cli_profile_volume(rpcsvc_request_t *req) glusterd_friend_sm(); glusterd_op_sm(); } else { - ret = glusterd_mgmt_v3_initiate_profile_phases(req, cli_op, dict); + ret = glusterd_mgmt_v3_initiate_all_phases_with_brickop_phase( + req, cli_op, dict); } out: -- cgit