From: rread Date: Thu, 22 Jul 2004 17:43:21 +0000 (+0000) Subject: b=3892 X-Git-Tag: 1.3.4~553 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=d024c27c3637d31cbf9f11d3997eac56a3c450ad;p=fs%2Flustre-release.git b=3892 Move the transno update so it's done after we check for the -ENOTCONN reply. --- diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index fe9f627..8540c9f 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -481,9 +481,6 @@ static int after_reply(struct ptlrpc_request *req) RETURN(-EPROTO); } - /* Store transno in reqmsg for replay. */ - req->rq_reqmsg->transno = req->rq_transno = req->rq_repmsg->transno; - rc = ptlrpc_check_status(req); /* Either we've been evicted, or the server has failed for @@ -500,6 +497,9 @@ static int after_reply(struct ptlrpc_request *req) RETURN(rc); } + /* Store transno in reqmsg for replay. */ + req->rq_reqmsg->transno = req->rq_transno = req->rq_repmsg->transno; + if (req->rq_import->imp_replayable) { spin_lock_irqsave(&imp->imp_lock, flags); if (req->rq_replay || req->rq_transno != 0)