summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-handler.c
diff options
context:
space:
mode:
authorSanju Rakonde <srakonde@redhat.com>2018-11-30 16:16:55 +0530
committerAtin Mukherjee <amukherj@redhat.com>2018-12-18 04:01:52 +0000
commit0b4b111fbd80a5d400a07d61e2b99f230f9be76f (patch)
tree14cebfa5fcc3da89e7e86cfdc96b1a08acba7ebb /xlators/mgmt/glusterd/src/glusterd-handler.c
parent9ff080382cb8c8aab561f4131c3f631e33670338 (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-handler.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c3
1 files changed, 2 insertions, 1 deletions
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: