From: adilger Date: Sun, 24 Nov 2002 18:26:58 +0000 (+0000) Subject: Include the portal request/reply number so we know the source of the bad X-Git-Tag: 0.5.18~15 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=89f207159db050f36556d374cd40814992c05958;p=fs%2Flustre-release.git Include the portal request/reply number so we know the source of the bad export data. --- diff --git a/lustre/ldlm/ldlm_lockd.c b/lustre/ldlm/ldlm_lockd.c index c56aeeb..a1524bf 100644 --- a/lustre/ldlm/ldlm_lockd.c +++ b/lustre/ldlm/ldlm_lockd.c @@ -481,8 +481,9 @@ static int ldlm_callback_handler(struct ptlrpc_request *req) } if (req->rq_export == NULL) { - CERROR("lustre_dlm: operation %d with missing/invalid export\n", - req->rq_reqmsg->opc); + CERROR("operation %d with bad export (ptl req %d/rep %d)\n", + req->rq_reqmsg->opc, req->rq_request_portal, + req->rq_reply_portal); CERROR("--> export addr: "LPX64", cookie: "LPX64"\n", req->rq_reqmsg->addr, req->rq_reqmsg->cookie); CERROR("--> ignoring this error as a temporary workaround! " @@ -523,9 +524,14 @@ static int ldlm_cancel_handler(struct ptlrpc_request *req) } if (req->rq_export == NULL) { - CERROR("lustre_dlm: operation %d with missing/invalid export\n", - req->rq_reqmsg->opc); - RETURN(-ENOTCONN); + CERROR("operation %d with bad export (ptl req %d/rep %d)\n", + req->rq_reqmsg->opc, req->rq_request_portal, + req->rq_reply_portal); + CERROR("--> export addr: "LPX64", cookie: "LPX64"\n", + req->rq_reqmsg->addr, req->rq_reqmsg->cookie); + CERROR("--> ignoring this error as a temporary workaround! " + "beware!\n"); + //RETURN(-ENOTCONN); } switch (req->rq_reqmsg->opc) {