From df214dd2e53f58be1f8cacdecb2fec54871a120e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 1 Jan 2010 13:50:58 +0800 Subject: [PATCH] b=21681 suppress bogus transno error suppress the "server went back in time" error message which is always printed even in the common case after a client eviction i=hongchao.zhang@sun.com i=andrew.perepechko@sun.com --- 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 2496eb4..12a8dc4 100644 --- a/lustre/ptlrpc/import.c +++ b/lustre/ptlrpc/import.c @@ -938,7 +938,8 @@ static int ptlrpc_connect_interpret(struct ptlrpc_request *request, "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