From bf152d98cee31a2346f3aec32301ca4a4bbfcea1 Mon Sep 17 00:00:00 2001 From: shishir gowda Date: Thu, 30 Sep 2010 03:41:04 +0000 Subject: Block add, remove and replace brick ops when rebalance is in progress Also fixing msg, changing defrag to rebalance Signed-off-by: shishir gowda Signed-off-by: Vijay Bellur BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971 --- cli/src/cli3_1-cops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cli') diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c index 2c64f115e..ecf454cbf 100644 --- a/cli/src/cli3_1-cops.c +++ b/cli/src/cli3_1-cops.c @@ -662,20 +662,20 @@ gf_cli3_1_defrag_volume_cbk (struct rpc_req *req, struct iovec *iov, cmd = local->u.defrag_vol.cmd; } if (cmd == GF_DEFRAG_CMD_START) { - cli_out ("starting defrag on volume %s has been %s", volname, + cli_out ("starting rebalance on volume %s has been %s", volname, (rsp.op_ret) ? "unsuccessful": "successful"); } if (cmd == GF_DEFRAG_CMD_STOP) { if (rsp.op_ret == -1) - cli_out ("'defrag volume %s stop' failed", volname); + cli_out ("rebalance volume %s stop failed", volname); else - cli_out ("stopped defrag process of volume %s \n" + cli_out ("stopped rebalance process of volume %s \n" "(after rebalancing %"PRId64" files totaling " "%"PRId64" bytes)", volname, rsp.files, rsp.size); } if (cmd == GF_DEFRAG_CMD_STATUS) { if (rsp.op_ret == -1) - cli_out ("failed to get the status of defrag process"); + cli_out ("failed to get the status of rebalance process"); else { char *status = "unknown"; if (rsp.op_errno == 0) -- cgit