aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmconvert.c
diff options
context:
space:
mode:
authorWengang Wang <wen.gang.wang@oracle.com>2010-03-30 00:09:22 -0400
committerJoel Becker <joel.becker@oracle.com>2010-05-05 21:18:08 -0400
commita5196ec5ef80309fd390191c548ee1f2e8a327ee (patch)
tree5856168bc2708230107940ec73a6752fabd8fd7b /fs/ocfs2/dlm/dlmconvert.c
parent83f92318fa33cc084e14e64dc903e605f75884c1 (diff)
ocfs2: print node # when tcp fails
Print the node number of a peer node if sending it a message failed. Signed-off-by: Wengang Wang <wen.gang.wang@oracle.com> Signed-off-by: Joel Becker <joel.becker@oracle.com>
Diffstat (limited to 'fs/ocfs2/dlm/dlmconvert.c')
-rw-r--r--fs/ocfs2/dlm/dlmconvert.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmconvert.c b/fs/ocfs2/dlm/dlmconvert.c
index f283bce776b4..3028d05fc4e9 100644
--- a/fs/ocfs2/dlm/dlmconvert.c
+++ b/fs/ocfs2/dlm/dlmconvert.c
@@ -391,7 +391,9 @@ static enum dlm_status dlm_send_remote_convert_request(struct dlm_ctxt *dlm,
391 } else if (ret != DLM_NORMAL && ret != DLM_NOTQUEUED) 391 } else if (ret != DLM_NORMAL && ret != DLM_NOTQUEUED)
392 dlm_error(ret); 392 dlm_error(ret);
393 } else { 393 } else {
394 mlog_errno(tmpret); 394 mlog(ML_ERROR, "Error %d when sending message %u (key 0x%x) to "
395 "node %u\n", tmpret, DLM_CONVERT_LOCK_MSG, dlm->key,
396 res->owner);
395 if (dlm_is_host_down(tmpret)) { 397 if (dlm_is_host_down(tmpret)) {
396 /* instead of logging the same network error over 398 /* instead of logging the same network error over
397 * and over, sleep here and wait for the heartbeat 399 * and over, sleep here and wait for the heartbeat