Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
43b34ac
)
branch: b1_6
author
ericm
<ericm>
Tue, 25 Mar 2008 05:39:10 +0000
(
05:39
+0000)
committer
ericm
<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
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/events.c
b/lustre/ptlrpc/events.c
index
c1fc0db
..
a791b8c
100644
(file)
--- a/
lustre/ptlrpc/events.c
+++ b/
lustre/ptlrpc/events.c
@@
-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