From: adilger Date: Thu, 1 Aug 2002 00:12:19 +0000 (+0000) Subject: Include failed operation for the RPC failures. X-Git-Tag: 0.5.3~28 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=2fa6d3079ebc2d6c4ee0848c4155424cc3d7563b;p=fs%2Flustre-release.git Include failed operation for the RPC failures. --- 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; }