From 20b15e6421e5c0bb3d5101806a7fdb2694f4fdc2 Mon Sep 17 00:00:00 2001 From: Mikhail Pershin Date: Tue, 18 May 2010 09:43:29 +0400 Subject: [PATCH 1/1] b=21681 Quiet bogus previously committed transno error i=zhang,panda --- lustre/ptlrpc/import.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/ptlrpc/import.c b/lustre/ptlrpc/import.c index f04e56f..e50a11d 100644 --- a/lustre/ptlrpc/import.c +++ b/lustre/ptlrpc/import.c @@ -944,7 +944,8 @@ static int ptlrpc_connect_interpret(const struct lu_env *env, "after reconnect. We should LBUG right here.\n"); } - if (lustre_msg_get_last_committed(request->rq_repmsg) < + if (lustre_msg_get_last_committed(request->rq_repmsg) > 0 && + lustre_msg_get_last_committed(request->rq_repmsg) < aa->pcaa_peer_committed) { CERROR("%s went back in time (transno "LPD64 " was previously committed, server now claims "LPD64 -- 1.8.3.1