aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/dlm/dlmast.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/dlmast.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/dlmast.c')
-rw-r--r--fs/ocfs2/dlm/dlmast.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmast.c b/fs/ocfs2/dlm/dlmast.c
index dccc439fa087..390a887c4df3 100644
--- a/fs/ocfs2/dlm/dlmast.c
+++ b/fs/ocfs2/dlm/dlmast.c
@@ -453,7 +453,9 @@ int dlm_send_proxy_ast_msg(struct dlm_ctxt *dlm, struct dlm_lock_resource *res,
453 ret = o2net_send_message_vec(DLM_PROXY_AST_MSG, dlm->key, vec, veclen, 453 ret = o2net_send_message_vec(DLM_PROXY_AST_MSG, dlm->key, vec, veclen,
454 lock->ml.node, &status); 454 lock->ml.node, &status);
455 if (ret < 0) 455 if (ret < 0)
456 mlog_errno(ret); 456 mlog(ML_ERROR, "Error %d when sending message %u (key 0x%x) to "
457 "node %u\n", ret, DLM_PROXY_AST_MSG, dlm->key,
458 lock->ml.node);
457 else { 459 else {
458 if (status == DLM_RECOVERING) { 460 if (status == DLM_RECOVERING) {
459 mlog(ML_ERROR, "sent AST to node %u, it thinks this " 461 mlog(ML_ERROR, "sent AST to node %u, it thinks this "