Whamcloud - gitweb
branch: b1_6
authorericm <ericm>
Tue, 25 Mar 2008 05:39:10 +0000 (05:39 +0000)
committerericm <ericm>
Tue, 25 Mar 2008 05:39:10 +0000 (05:39 +0000)
don't LBUG if incoming early reply size is not expected.
b=14881
r=nathan
r=adilger

lustre/ptlrpc/events.c

index c1fc0db..a791b8c 100644 (file)
@@ -113,7 +113,10 @@ void reply_in_callback(lnet_event_t *ev)
                           "replied=%d", ev->mlength, ev->offset, req->rq_replen,
                           req->rq_replied);
                 
-                LASSERT(ev->mlength == lustre_msg_early_size());
+                if (unlikely(ev->mlength != lustre_msg_early_size()))
+                        CERROR("early reply sized %u, expect %u\n",
+                               ev->mlength, lustre_msg_early_size());
+
                 req->rq_early_count++; /* number received, client side */
                 if (req->rq_replied) 
                         /* If we already got the real reply, ignore the early