summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmunlock.c
diff options
context:
space:
mode:
authorWengang Wang2010-03-30 06:09:22 +0200
committerJoel Becker2010-05-06 03:18:08 +0200
commita5196ec5ef80309fd390191c548ee1f2e8a327ee (patch)
tree5856168bc2708230107940ec73a6752fabd8fd7b /fs/ocfs2/dlm/dlmunlock.c
parentocfs2: Add dir_resv_level mount option (diff)
downloadkernel-qcow2-linux-a5196ec5ef80309fd390191c548ee1f2e8a327ee.tar.gz
kernel-qcow2-linux-a5196ec5ef80309fd390191c548ee1f2e8a327ee.tar.xz
kernel-qcow2-linux-a5196ec5ef80309fd390191c548ee1f2e8a327ee.zip
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/dlmunlock.c')
-rw-r--r--fs/ocfs2/dlm/dlmunlock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmunlock.c b/fs/ocfs2/dlm/dlmunlock.c
index 49e29ecd0201..2c1f306f8fa5 100644
--- a/fs/ocfs2/dlm/dlmunlock.c
+++ b/fs/ocfs2/dlm/dlmunlock.c
@@ -355,7 +355,8 @@ static enum dlm_status dlm_send_remote_unlock_request(struct dlm_ctxt *dlm,
mlog(0, "master was in-progress. retry\n");
ret = status;
} else {
- mlog_errno(tmpret);
+ mlog(ML_ERROR, "Error %d when sending message %u (key 0x%x) to "
+ "node %u\n", tmpret, DLM_UNLOCK_LOCK_MSG, dlm->key, owner);
if (dlm_is_host_down(tmpret)) {
/* NOTE: this seems strange, but it is what we want.
* when the master goes down during a cancel or