summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rebalance.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
index 55a2e45e2ca..3e4b4f5a26c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
@@ -395,8 +395,9 @@ glusterd_handle_defrag_volume (rpcsvc_request_t *req)
default:
break;
}
- gf_log ("glusterd", GF_LOG_NORMAL, "Received rebalance volume on %s",
- cli_req.volname);
+ gf_log ("glusterd", GF_LOG_NORMAL, "Received rebalance volume %s on %s",
+ (cli_req.cmd == GF_DEFRAG_CMD_START)?"start":(cli_req.cmd == GF_DEFRAG_CMD_STOP)?"stop":"status"
+ , cli_req.volname);
rsp.volname = cli_req.volname;
rsp.op_ret = -1;