From a3998ad8cf609a5b076ad0c71fc4cdf1c4b773d5 Mon Sep 17 00:00:00 2001 From: pschwan Date: Fri, 22 Nov 2002 12:37:06 +0000 Subject: [PATCH] Print more information when we get a callback with a bogus export. Also, try to see if we can proceed--maybe the rest of the packet is OK. --- lustre/ldlm/ldlm_lockd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lustre/ldlm/ldlm_lockd.c b/lustre/ldlm/ldlm_lockd.c index 973d565..c56aeeb 100644 --- a/lustre/ldlm/ldlm_lockd.c +++ b/lustre/ldlm/ldlm_lockd.c @@ -483,7 +483,11 @@ 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); - RETURN(-ENOTCONN); + 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