diff options
| author | Trond Myklebust <trond.myklebust@fys.uio.no> | 2003-08-21 04:42:05 -0700 |
|---|---|---|
| committer | Trond Myklebust <trond.myklebust@fys.uio.no> | 2003-08-21 04:42:05 -0700 |
| commit | 5579cbd6894d83f81517c6b790c4f511f94e7976 (patch) | |
| tree | e9e8efb2c831ceaf179446db0215e658d4065380 /include/linux | |
| parent | 4bdeac8fa5d5c6a4408ef42ec66a715c36fd27a6 (diff) | |
A request cannot be used as part of the RTO estimation if it gets
resent since you don't know whether the server is replying to the
first or the second transmission. However we're currently setting
the cutoff point to be the timeout of the first transmission.
This patch moves the cutoff point to the actual start of the
retransmission.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/sunrpc/xprt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/xprt.h b/include/linux/sunrpc/xprt.h index 2687ba7b9f13..e29381edeaea 100644 --- a/include/linux/sunrpc/xprt.h +++ b/include/linux/sunrpc/xprt.h @@ -115,7 +115,7 @@ struct rpc_rqst { unsigned long rq_xtime; /* when transmitted */ int rq_ntimeo; - int rq_nresend; + int rq_ntrans; }; #define rq_svec rq_snd_buf.head #define rq_slen rq_snd_buf.len |
