OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. f97d860db9f98605e5db9ad5a3c44cc6868b8590
Gerrit Code Review
Wed, 16 Dec 2009 22:57:12 -0800 (PST)
The following commit has been merged in the openafs-stable-1_4_x branch:
Author: Jeffrey Altman <firstname.lastname@example.org>
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.
Tested-by: Jeffrey Altman <email@example.com>
Reviewed-by: Jeffrey Altman <firstname.lastname@example.org>
Tested-by: Derrick Brashear <email@example.com>
Reviewed-by: Derrick Brashear <firstname.lastname@example.org>
src/rx/rx.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
OpenAFS Master Repository