OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-65-gc7693a0
Gerrit Code Review
gerrit@openafs.org
Sun, 21 Nov 2010 06:40:29 -0800 (PST)
The following commit has been merged in the openafs-stable-1_4_x branch:
commit c7693a063a9c651964b32eebf4ac11b39b2ebaa6
Author: Andrew Deason <adeason@sinenomine.net>
Date: Fri Oct 8 11:51:30 2010 -0500
RX: Force sane timeout values
Currently we do not check the specified timeout values when someone
changes a connection's dead, idle, or hard dead time. However, if the
conn's dead time is larger than the other two times, a loss of network
activity will result in one of the other timeouts getting triggered
first.
To prevent this and possibly other problems from happening, force a
connection's timeouts to always obey the relationship
secondsUntilDead <= idleDeadTime <= hardDeadTime, by checking these
values whenever they are changed.
Reviewed-on: http://gerrit.openafs.org/2947
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
(cherry picked from commit 7d6080a841ff8c91052fa708d5be3b582f8a971d)
Change-Id: I89a253254f376975d1f215ccebf228795869f31c
Reviewed-on: http://gerrit.openafs.org/3340
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/libafsrpc/afsrpc.def | 3 +-
src/rx/rx.c | 50 ++++++++++++-
src/rx/rx.h | 3 -
src/rx/rx_prototypes.h | 2 +
src/shlibafsrpc/libafsrpc.map | 169 +++++++++++++++++++++++++++++++++++++++++
5 files changed, 222 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository