summaryrefslogtreecommitdiffstats
path: root/cli/src/cli3_1-cops.c
diff options
context:
space:
mode:
authorshishir gowda <shishirng@gluster.com>2010-09-30 03:41:04 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-09-30 06:57:59 -0700
commitbf152d98cee31a2346f3aec32301ca4a4bbfcea1 (patch)
tree6ecc21800004d86b9e57d33bde1300ae82dc21fb /cli/src/cli3_1-cops.c
parentd39ed89765a8d0a1f767b864fd6826d29de7ad1f (diff)
Block add, remove and replace brick ops when rebalance is in progress
Also fixing msg, changing defrag to rebalance Signed-off-by: shishir gowda <shishirng@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 971 (dynamic volume management) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=971
Diffstat (limited to 'cli/src/cli3_1-cops.c')
-rw-r--r--cli/src/cli3_1-cops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/src/cli3_1-cops.c b/cli/src/cli3_1-cops.c
index 2c64f115e23..ecf454cbfd0 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)