aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKurt Hackel <kurt.hackel@oracle.com>2006-05-01 17:30:39 -0400
committerMark Fasheh <mark.fasheh@oracle.com>2006-06-26 17:43:15 -0400
commit56a7c104bc91b4a5f970d7372ebb04eebc633c68 (patch)
treee423c8250cf78af4d29fcdbfdd56a43ff4fea191
parent44a7f1d063bbe45773353903f36d9d88fb73d82a (diff)
ocfs2: display message before waiting for recovery to complete
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com> Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
-rw-r--r--fs/ocfs2/dlm/dlmrecovery.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c
index f76b498a1745..08336aec13d8 100644
--- a/fs/ocfs2/dlm/dlmrecovery.c
+++ b/fs/ocfs2/dlm/dlmrecovery.c
@@ -409,6 +409,13 @@ static int dlm_in_recovery(struct dlm_ctxt *dlm)
409 409
410void dlm_wait_for_recovery(struct dlm_ctxt *dlm) 410void dlm_wait_for_recovery(struct dlm_ctxt *dlm)
411{ 411{
412 if (dlm_in_recovery(dlm)) {
413 mlog(ML_NOTICE, "%s: reco thread %d in recovery: "
414 "state=%d, master=%u, dead=%u\n",
415 dlm->name, dlm->dlm_reco_thread_task->pid,
416 dlm->reco.state, dlm->reco.new_master,
417 dlm->reco.dead_node);
418 }
412 wait_event(dlm->reco.event, !dlm_in_recovery(dlm)); 419 wait_event(dlm->reco.event, !dlm_in_recovery(dlm));
413} 420}
414 421