OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-devel-1_5_77-105-g5396d71
Gerrit Code Review
gerrit@openafs.org
Mon, 25 Oct 2010 18:12:45 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 05a7177c91570f40c5812aa1904b554f6478c5a5
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Mon Oct 11 13:25:38 2010 -0400
rx: Simplify round trip time calculation
Move the logic for deciding whether to compute RTT out of PeerNetStats
and into the callers. This means that we can share decisions about
whether a packet is ACK'd or not, and avoid uneccessary multiple tests
and function calls.
This change also stops us from computing RTT times for packets outside
of the set of explicit ACKs that we have received. This means that we
no longer compute RTTs for packets that are on the transmit queue, but
not yet on the wire.
Reviewed-on: http://gerrit.openafs.org/2960
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit f7799a35c5942ba4feda3bc8c848cdaa8e0b7b76)
Change-Id: Idf4ba83ba187fd97caa85d0d042662c3b12efa02
Reviewed-on: http://gerrit.openafs.org/3113
src/rx/rx.c | 59 ++++++++++++++++++++++-------------------------------------
1 files changed, 22 insertions(+), 37 deletions(-)
--
OpenAFS Master Repository