summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rebalance.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
index a7bac2450..e5a907eaa 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
@@ -472,27 +472,32 @@ glusterd_rebalance_cmd_attempted_log (int cmd, char *volname)
gf_cmd_log ("Volume rebalance"," on volname: %s "
"cmd: start fix layout , attempted",
volname);
+ gf_log ("glusterd", GF_LOG_INFO, "Received rebalance "
+ "volume start layout fix on %s", volname);
break;
case GF_DEFRAG_CMD_START_MIGRATE_DATA:
case GF_DEFRAG_CMD_START_MIGRATE_DATA_FORCE:
gf_cmd_log ("Volume rebalance"," on volname: %s "
"cmd: start data migrate attempted",
volname);
+ gf_log ("glusterd", GF_LOG_INFO, "Received rebalance "
+ "volume start migrate data on %s", volname);
break;
case GF_DEFRAG_CMD_START:
gf_cmd_log ("Volume rebalance"," on volname: %s "
"cmd: start, attempted", volname);
+ gf_log ("glusterd", GF_LOG_INFO, "Received rebalance "
+ "volume start on %s", volname);
break;
case GF_DEFRAG_CMD_STOP:
gf_cmd_log ("Volume rebalance"," on volname: %s "
"cmd: stop, attempted", volname);
+ gf_log ("glusterd", GF_LOG_INFO, "Received rebalance "
+ "volume stop on %s", volname);
break;
default:
break;
}
-
- gf_log ("glusterd", GF_LOG_INFO, "Received rebalance volume %d on %s",
- cmd, volname);
}
void