OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. f97d860db9f98605e5db9ad5a3c44cc6868b8590
Gerrit Code Review
gerrit@openafs.org
Wed, 16 Dec 2009 22:57:12 -0800 (PST)
The following commit has been merged in the openafs-stable-1_4_x branch:
commit f97d860db9f98605e5db9ad5a3c44cc6868b8590
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
Change-Id: I83d3a3d64127d4c023df2fce5e45a4df3eb35679
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>
Reviewed-on: http://gerrit.openafs.org/974
src/rx/rx.c | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
--
OpenAFS Master Repository