diff options
author | shishir gowda <shishirng@gluster.com> | 2010-09-30 03:41:04 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@dev.gluster.com> | 2010-09-30 06:57:59 -0700 |
commit | bf152d98cee31a2346f3aec32301ca4a4bbfcea1 (patch) | |
tree | 6ecc21800004d86b9e57d33bde1300ae82dc21fb /xlators/mgmt/glusterd/src/glusterd-handler.c | |
parent | d39ed89765a8d0a1f767b864fd6826d29de7ad1f (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 'xlators/mgmt/glusterd/src/glusterd-handler.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-handler.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index f66a5b3d28c..439facef0b9 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -837,7 +837,7 @@ glusterd_defrag_start (void *data) volinfo->lookedup_files = defrag->num_files_lookedup; out: if (defrag) { - gf_log ("defrag", GF_LOG_NORMAL, "defrag on %s complete", + gf_log ("rebalance", GF_LOG_NORMAL, "rebalance on %s complete", defrag->mount); snprintf (cmd_str, 1024, "umount -l %s", defrag->mount); @@ -931,19 +931,19 @@ glusterd_handle_defrag_volume (rpcsvc_request_t *req) default: break; } - gf_log ("glusterd", GF_LOG_NORMAL, "Received defrag volume on %s", + gf_log ("glusterd", GF_LOG_NORMAL, "Received rebalance volume on %s", cli_req.volname); rsp.volname = cli_req.volname; rsp.op_ret = -1; if (glusterd_volinfo_find(cli_req.volname, &volinfo)) { - gf_log ("glusterd", GF_LOG_NORMAL, "Received defrag on invalid" + gf_log ("glusterd", GF_LOG_NORMAL, "Received rebalance on invalid" " volname %s", cli_req.volname); goto out; } if (volinfo->status != GLUSTERD_STATUS_STARTED) { - gf_log ("glusterd", GF_LOG_NORMAL, "Received defrag on stopped" + gf_log ("glusterd", GF_LOG_NORMAL, "Received rebalance on stopped" " volname %s", cli_req.volname); goto out; } @@ -953,7 +953,7 @@ glusterd_handle_defrag_volume (rpcsvc_request_t *req) { if (volinfo->defrag) { gf_log ("glusterd", GF_LOG_DEBUG, - "defrag on volume %s already started", + "rebalance on volume %s already started", cli_req.volname); goto out; } |