Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ccee1f5
)
- fix slow increasing of recovery time
author
tappro
<tappro>
Tue, 9 Sep 2008 06:05:10 +0000
(06:05 +0000)
committer
tappro
<tappro>
Tue, 9 Sep 2008 06:05:10 +0000
(06:05 +0000)
b:16389
i:nathan, rread
lustre/ptlrpc/client.c
patch
|
blob
|
history
diff --git
a/lustre/ptlrpc/client.c
b/lustre/ptlrpc/client.c
index
f9e4c57
..
32154f9
100644
(file)
--- 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... */