From 89f207159db050f36556d374cd40814992c05958 Mon Sep 17 00:00:00 2001 From: adilger Date: Sun, 24 Nov 2002 18:26:58 +0000 Subject: [PATCH] Include the portal request/reply number so we know the source of the bad export data. --- lustre/ldlm/ldlm_lockd.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) 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) { -- 1.8.3.1