OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_65-101-gcc112e7
Gerrit Code Review
gerrit@openafs.org
Tue, 20 Oct 2009 13:54:42 -0700 (PDT)
The following commit has been merged in the master branch:
commit cc112e7a59d441d28a1d195cb48f23887df51929
Author: Jeffrey Altman <jaltman@secure-endpoints.com>
Date: Tue Oct 20 16:16:47 2009 -0400
prevent rx peer timeout from reaching 0.0 seconds
The rx peer timeout is computed from the round trip time
calculation. It traditionally has had a lowerbound of 350ms.
The computation in rxi_ComputeRoundTripTime() was incorrect
and instead used 350ms as an upperbound.
rxi_ComputeRoundTripTime() had a second problem wherein if
the actually RTT is shorter than the resolution of the clock
then the RTT would quickly approach 0.0 seconds. Enforce
a lowerbound of 1ms if the RTT for a given packet appears
to be 0.0 seconds.
LICENSE BSD
Reviewed-on: http://gerrit.openafs.org/696
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx.c | 12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository