OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_1-324-gb4a4a2a
Gerrit Code Review
gerrit@openafs.org
Sat, 9 Mar 2024 16:56:42 -0500
The following commit has been merged in the master branch:
commit b4a4a2ae9c9546482dd94c7a89793b1bfa1714cd
Author: Mark Vitale <mvitale@sinenomine.net>
Date: Fri May 7 18:20:11 2021 -0400
rx: Define symbolic names for Rx magic numbers
Since the original IBM code import, the magic number '6' has been used
to specify the number of consecutive lost keepalives (ping acks) that
indicate a dead connection. By implication, this also defines the
minimum number of seconds (at the minimum keeplive periodicity of 1
second) before a connection may be considered dead.
Define and use symbolic names for both uses of '6', and document their
relationship. Both have the same assigned value '6', but
RX_PINGS_LOST_BEFORE_DEAD is use as an ordinal count, while
RX_MINDEADTIME is expressed in units of seconds.
The magic number '12' is used in a couple of places for the default
value of rx_connDeadTime. Give this constant a name
(RX_DEFAULT_DEAD_TIME) and use it.
No functional change is incurred by this commit.
Change-Id: I8689062d25b51c557da16e27601297b6856e048a
Reviewed-on: https://gerrit.openafs.org/14621
Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
Tested-by: Benjamin Kaduk <kaduk@mit.edu>
src/rx/rx.c | 12 ++++++------
src/rx/rx.h | 12 ++++++++++++
src/rx/rx_globals.h | 2 +-
3 files changed, 19 insertions(+), 7 deletions(-)
--
OpenAFS Master Repository