From: Phil S. <ps...@us...> - 2003-06-09 03:56:18
|
Update of /cvsroot/lustre/lustre/ldlm In directory sc8-pr-cvs1:/tmp/cvs-serv24063/ldlm Modified Files: Tag: b_devel ldlm_lockd.c Log Message: It is very common, if a node is rebooted with a lock held, to receive messages to the ldlm_callback_handler with an invalid export; quiet these down to D_RPCTRACE messages instead of CERRORs. Index: ldlm_lockd.c =================================================================== RCS file: /cvsroot/lustre/lustre/ldlm/ldlm_lockd.c,v retrieving revision 1.131.2.42 retrieving revision 1.131.2.43 diff -u -w -b -B -p -r1.131.2.42 -r1.131.2.43 --- ldlm_lockd.c 5 Jun 2003 15:44:04 -0000 1.131.2.42 +++ ldlm_lockd.c 9 Jun 2003 03:56:14 -0000 1.131.2.43 @@ -703,16 +703,17 @@ static int ldlm_callback_handler(struct if (req->rq_export == NULL) { struct ldlm_request *dlm_req; - CERROR("operation %d from nid "LPU64" with bad export " - "(ptl req %d/rep %d)\n", req->rq_reqmsg->opc, - req->rq_connection->c_peer.peer_nid, + CDEBUG(D_RPCTRACE, "operation %d from nid "LPU64" with bad " + "export cookie "LPX64" (ptl req %d/rep %d); this is " + "normal if this node rebooted with a lock held\n", + req->rq_reqmsg->opc, req->rq_connection->c_peer.peer_nid, + req->rq_reqmsg->handle.cookie, req->rq_request_portal, req->rq_reply_portal); - CERROR("--> export cookie: "LPX64"\n", - req->rq_reqmsg->handle.cookie); + dlm_req = lustre_swab_reqbuf(req, 0, sizeof (*dlm_req), lustre_swab_ldlm_request); if (dlm_req != NULL) - CERROR("--> lock cookie: "LPX64"\n", + CDEBUG(D_RPCTRACE, "--> lock cookie: "LPX64"\n", dlm_req->lock_handle1.cookie); ldlm_callback_reply(req, -ENOTCONN); |