From a7d67b5581772623e2740183a8135911fce069cb Mon Sep 17 00:00:00 2001 From: tappro Date: Tue, 9 Sep 2008 06:05:10 +0000 Subject: [PATCH] - fix slow increasing of recovery time b:16389 i:nathan, rread --- lustre/ptlrpc/client.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lustre/ptlrpc/client.c b/lustre/ptlrpc/client.c index f9e4c57..32154f9 100644 --- a/lustre/ptlrpc/client.c +++ b/lustre/ptlrpc/client.c @@ -221,8 +221,7 @@ void ptlrpc_at_set_req_timeout(struct ptlrpc_request *req) idx = import_at_get_index(req->rq_import, req->rq_request_portal); serv_est = at_get(&at->iat_service_estimate[idx]); - /* add an arbitrary minimum: 125% +5 sec */ - req->rq_timeout = serv_est + (serv_est >> 2) + 5; + req->rq_timeout = at_est2timeout(serv_est); /* We could get even fancier here, using history to predict increased loading... */ -- 1.8.3.1