Whamcloud - gitweb
Print more information when we get a callback with a bogus export.
authorpschwan <pschwan>
Fri, 22 Nov 2002 12:37:06 +0000 (12:37 +0000)
committerpschwan <pschwan>
Fri, 22 Nov 2002 12:37:06 +0000 (12:37 +0000)
Also, try to see if we can proceed--maybe the rest of the packet is OK.

lustre/ldlm/ldlm_lockd.c

index 973d565..c56aeeb 100644 (file)
@@ -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) {