diff options
author | Kurt Hackel <kurt.hackel@oracle.com> | 2006-05-01 17:31:37 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-06-26 17:43:16 -0400 |
commit | 3b3b84a892d37ba336391e411eb5f8b013b9a669 (patch) | |
tree | 8766af23fa8f40003f41cd34eda5c5e3641f279c /fs/ocfs2 | |
parent | 56a7c104bc91b4a5f970d7372ebb04eebc633c68 (diff) |
ocfs2: tune down some noisy messages during dlm recovery
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/dlm/dlmmaster.c | 11 | ||||
-rw-r--r-- | fs/ocfs2/dlm/dlmrecovery.c | 2 |
2 files changed, 7 insertions, 6 deletions
diff --git a/fs/ocfs2/dlm/dlmmaster.c b/fs/ocfs2/dlm/dlmmaster.c index b780e159dad2..f186e090a10e 100644 --- a/fs/ocfs2/dlm/dlmmaster.c +++ b/fs/ocfs2/dlm/dlmmaster.c | |||
@@ -1639,13 +1639,13 @@ again: | |||
1639 | tmpret = o2net_send_message(DLM_ASSERT_MASTER_MSG, dlm->key, | 1639 | tmpret = o2net_send_message(DLM_ASSERT_MASTER_MSG, dlm->key, |
1640 | &assert, sizeof(assert), to, &r); | 1640 | &assert, sizeof(assert), to, &r); |
1641 | if (tmpret < 0) { | 1641 | if (tmpret < 0) { |
1642 | mlog(ML_ERROR, "assert_master returned %d!\n", tmpret); | 1642 | mlog(0, "assert_master returned %d!\n", tmpret); |
1643 | if (!dlm_is_host_down(tmpret)) { | 1643 | if (!dlm_is_host_down(tmpret)) { |
1644 | mlog(ML_ERROR, "unhandled error!\n"); | 1644 | mlog(ML_ERROR, "unhandled error=%d!\n", tmpret); |
1645 | BUG(); | 1645 | BUG(); |
1646 | } | 1646 | } |
1647 | /* a node died. finish out the rest of the nodes. */ | 1647 | /* a node died. finish out the rest of the nodes. */ |
1648 | mlog(ML_ERROR, "link to %d went down!\n", to); | 1648 | mlog(0, "link to %d went down!\n", to); |
1649 | /* any nonzero status return will do */ | 1649 | /* any nonzero status return will do */ |
1650 | ret = tmpret; | 1650 | ret = tmpret; |
1651 | } else if (r < 0) { | 1651 | } else if (r < 0) { |
@@ -2029,7 +2029,8 @@ static void dlm_assert_master_worker(struct dlm_work_item *item, void *data) | |||
2029 | nodemap, flags); | 2029 | nodemap, flags); |
2030 | if (ret < 0) { | 2030 | if (ret < 0) { |
2031 | /* no need to restart, we are done */ | 2031 | /* no need to restart, we are done */ |
2032 | mlog_errno(ret); | 2032 | if (!dlm_is_host_down(ret)) |
2033 | mlog_errno(ret); | ||
2033 | } | 2034 | } |
2034 | 2035 | ||
2035 | /* Ok, we've asserted ourselves. Let's let migration start. */ | 2036 | /* Ok, we've asserted ourselves. Let's let migration start. */ |
@@ -2808,7 +2809,7 @@ top: | |||
2808 | * may result in the mle being unlinked and | 2809 | * may result in the mle being unlinked and |
2809 | * freed, but there may still be a process | 2810 | * freed, but there may still be a process |
2810 | * waiting in the dlmlock path which is fine. */ | 2811 | * waiting in the dlmlock path which is fine. */ |
2811 | mlog(ML_ERROR, "node %u was expected master\n", | 2812 | mlog(0, "node %u was expected master\n", |
2812 | dead_node); | 2813 | dead_node); |
2813 | atomic_set(&mle->woken, 1); | 2814 | atomic_set(&mle->woken, 1); |
2814 | spin_unlock(&mle->spinlock); | 2815 | spin_unlock(&mle->spinlock); |
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c index 08336aec13d8..f0549e9f0024 100644 --- a/fs/ocfs2/dlm/dlmrecovery.c +++ b/fs/ocfs2/dlm/dlmrecovery.c | |||
@@ -410,7 +410,7 @@ static int dlm_in_recovery(struct dlm_ctxt *dlm) | |||
410 | void dlm_wait_for_recovery(struct dlm_ctxt *dlm) | 410 | void dlm_wait_for_recovery(struct dlm_ctxt *dlm) |
411 | { | 411 | { |
412 | if (dlm_in_recovery(dlm)) { | 412 | if (dlm_in_recovery(dlm)) { |
413 | mlog(ML_NOTICE, "%s: reco thread %d in recovery: " | 413 | mlog(0, "%s: reco thread %d in recovery: " |
414 | "state=%d, master=%u, dead=%u\n", | 414 | "state=%d, master=%u, dead=%u\n", |
415 | dlm->name, dlm->dlm_reco_thread_task->pid, | 415 | dlm->name, dlm->dlm_reco_thread_task->pid, |
416 | dlm->reco.state, dlm->reco.new_master, | 416 | dlm->reco.state, dlm->reco.new_master, |