From e430c7fe022429d290bffea59052e2750cf4fac0 Mon Sep 17 00:00:00 2001 From: tappro Date: Tue, 26 Aug 2008 20:41:16 +0000 Subject: [PATCH] - don't estimate AT during recovery - fix vbr issue with last ping reply b:16389 i:rread, nathan --- lustre/ptlrpc/client.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index 95dbc49..ff8322b 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -238,6 +238,10 @@ static void ptlrpc_at_adj_service(struct ptlrpc_request *req) unsigned int serv_est, oldse; struct imp_at *at = &req->rq_import->imp_at; + /* do estimate only if is not in recovery */ + if (!(req->rq_send_state & (LUSTRE_IMP_FULL | LUSTRE_IMP_CONNECTING))) + return; + LASSERT(req->rq_import); /* service estimate is returned in the repmsg timeout field, -- 1.8.3.1