From b274d3d194483ab458ed965fc53fb9a55c6ca2e9 Mon Sep 17 00:00:00 2001
From: nathan <nathan>
Date: Wed, 20 Aug 2008 23:47:35 +0000
Subject: [PATCH] b=16408 i=ericm i=rread increase fudge for Cray

---
 lustre/ptlrpc/client.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c
index 666922752f..5d13a24df9 100644
--- a/lustre/ptlrpc/client.c
+++ b/lustre/ptlrpc/client.c
@@ -278,10 +278,9 @@ static void ptlrpc_at_adj_net_latency(struct ptlrpc_request *req)
 
         /* Network latency is total time less server processing time */
         nl = max_t(int, now - req->rq_sent - st, 0) + 1/*st rounding*/;
-        if (st > now - req->rq_sent + 2 /* rounding */)
-                CERROR("Reported service time %u > total measured time "
-                       CFS_DURATION_T"\n",
-                       st, cfs_time_sub(now, req->rq_sent));
+        if (st > now - req->rq_sent + 3 /* bz16408 */)
+                CWARN("Reported service time %u > total measured time "
+                       CFS_DURATION_T"\n", st, cfs_time_sub(now, req->rq_sent));
 
         oldnl = at_add(&at->iat_net_latency, nl);
         if (oldnl != 0)
-- 
GitLab