From 2fa6d3079ebc2d6c4ee0848c4155424cc3d7563b Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 1 Aug 2002 00:12:19 +0000 Subject: [PATCH] Include failed operation for the RPC failures. --- lustre/ptlrpc/service.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lustre/ptlrpc/service.c b/lustre/ptlrpc/service.c index 36e4b7c..b8ba771 100644 --- a/lustre/ptlrpc/service.c +++ b/lustre/ptlrpc/service.c @@ -149,25 +149,25 @@ static int handle_incoming_request(struct obd_device *obddev, request.rq_reqlen = event->mem_desc.length; if (request.rq_reqlen < sizeof(struct lustre_msg)) { - CERROR("incomplete request: ptl %d from %Lx xid %Ld\n", - svc->srv_req_portal, event->initiator.nid, - request.rq_xid); + CERROR("incomplete request (%d): ptl %d from %Lx xid %Ld\n", + request.rq_reqlen, svc->srv_req_portal, + event->initiator.nid, request.rq_xid); spin_unlock(&svc->srv_lock); return -EINVAL; } if (request.rq_reqmsg->magic != PTLRPC_MSG_MAGIC) { - CERROR("wrong lustre_msg magic: ptl %d from %Lx xid %Ld\n", - svc->srv_req_portal, event->initiator.nid, - request.rq_xid); + CERROR("wrong lustre_msg magic %d: ptl %d from %Lx xid %Ld\n", + request.rq_reqmsg->magic, svc->srv_req_portal, + event->initiator.nid, request.rq_xid); spin_unlock(&svc->srv_lock); return -EINVAL; } if (request.rq_reqmsg->version != PTLRPC_MSG_VERSION) { - CERROR("wrong lustre_msg version: ptl %d from %Lx xid %Ld\n", - svc->srv_req_portal, event->initiator.nid, - request.rq_xid); + CERROR("wrong lustre_msg version %d: ptl %d from %Lx xid %Ld\n", + request.rq_reqmsg->version, svc->srv_req_portal, + event->initiator.nid, request.rq_xid); spin_unlock(&svc->srv_lock); return -EINVAL; } -- 1.8.3.1