提交 535f7026 编写于 作者: S Sunil Mushran 提交者: Mark Fasheh

ocfs2/dlm: Print message showing the recovery master

Knowing the dlm recovery master helps in debugging recovery
issues. This patch prints a message on the recovery master node.
Signed-off-by: NSunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: NJoel Becker <joel.becker@oracle.com>
Signed-off-by: NMark Fasheh <mark.fasheh@oracle.com>
上级 b31cfc02
...@@ -519,9 +519,9 @@ static int dlm_do_recovery(struct dlm_ctxt *dlm) ...@@ -519,9 +519,9 @@ static int dlm_do_recovery(struct dlm_ctxt *dlm)
return 0; return 0;
master_here: master_here:
mlog(0, "(%d) mastering recovery of %s:%u here(this=%u)!\n", mlog(ML_NOTICE, "(%d) Node %u is the Recovery Master for the Dead Node "
task_pid_nr(dlm->dlm_reco_thread_task), "%u for Domain %s\n", task_pid_nr(dlm->dlm_reco_thread_task),
dlm->name, dlm->reco.dead_node, dlm->node_num); dlm->node_num, dlm->reco.dead_node, dlm->name);
status = dlm_remaster_locks(dlm, dlm->reco.dead_node); status = dlm_remaster_locks(dlm, dlm->reco.dead_node);
if (status < 0) { if (status < 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册