summaryrefslogtreecommitdiff
path: root/fs/ocfs2/dlm
diff options
context:
space:
mode:
authorSunil Mushran <sunil.mushran@oracle.com>2008-03-01 14:04:24 -0800
committerMark Fasheh <mark.fasheh@oracle.com>2008-03-10 15:14:14 -0700
commit535f7026fddafce6d0a0524db01a432c23a0a7b4 (patch)
tree1ff54fc43e58eca485e96dc444ca0987d24a18e9 /fs/ocfs2/dlm
parentb31cfc0237f89c3a8bc8f31b5da996e71b543214 (diff)
downloadlinux-3.10-535f7026fddafce6d0a0524db01a432c23a0a7b4.tar.gz
linux-3.10-535f7026fddafce6d0a0524db01a432c23a0a7b4.tar.bz2
linux-3.10-535f7026fddafce6d0a0524db01a432c23a0a7b4.zip
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: Sunil Mushran <sunil.mushran@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm')
-rw-r--r--fs/ocfs2/dlm/dlmrecovery.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c
index f9468355242..bcb9260c373 100644
--- a/fs/ocfs2/dlm/dlmrecovery.c
+++ b/fs/ocfs2/dlm/dlmrecovery.c
@@ -519,9 +519,9 @@ static int dlm_do_recovery(struct dlm_ctxt *dlm)
return 0;
master_here:
- mlog(0, "(%d) mastering recovery of %s:%u here(this=%u)!\n",
- task_pid_nr(dlm->dlm_reco_thread_task),
- dlm->name, dlm->reco.dead_node, dlm->node_num);
+ mlog(ML_NOTICE, "(%d) Node %u is the Recovery Master for the Dead Node "
+ "%u for Domain %s\n", task_pid_nr(dlm->dlm_reco_thread_task),
+ dlm->node_num, dlm->reco.dead_node, dlm->name);
status = dlm_remaster_locks(dlm, dlm->reco.dead_node);
if (status < 0) {