From: tappro Date: Thu, 24 Jul 2008 11:38:13 +0000 (+0000) Subject: - land b_ver_recov X-Git-Tag: v1_7_72~1^131~1 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b5afa81652b404eb24c0d250637baa593dcc58ae;p=fs%2Flustre-release.git - land b_ver_recov --- diff --git a/lustre/ptlrpc/events.c b/lustre/ptlrpc/events.c index cac7c01..7a3022a 100644 --- a/lustre/ptlrpc/events.c +++ b/lustre/ptlrpc/events.c @@ -93,7 +93,7 @@ void reply_in_callback(lnet_event_t *ev) DEBUG_REQ((ev->status == 0) ? D_NET : D_ERROR, req, "type %d, status %d", ev->type, ev->status); - + LASSERT(ev->type == LNET_EVENT_PUT || ev->type == LNET_EVENT_UNLINK); LASSERT(ev->md.start == req->rq_repbuf); LASSERT(ev->mlength <= req->rq_replen); @@ -105,7 +105,7 @@ void reply_in_callback(lnet_event_t *ev) req->rq_receiving_reply = 0; req->rq_early = 0; - + if (ev->status) goto out_wake; if (ev->type == LNET_EVENT_UNLINK) { @@ -114,7 +114,7 @@ void reply_in_callback(lnet_event_t *ev) goto out_wake; } - if ((ev->offset == 0) && + if ((ev->offset == 0) && (lustre_msghdr_get_flags(req->rq_reqmsg) & MSGHDR_AT_SUPPORT)) { /* Early reply */ DEBUG_REQ(D_ADAPTTO, req,