OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-276-gf7799a3
Gerrit Code Review
gerrit@openafs.org
Mon, 18 Oct 2010 10:20:45 -0700 (PDT)
The following commit has been merged in the master branch:
commit f7799a35c5942ba4feda3bc8c848cdaa8e0b7b76
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.
Change-Id: I9d3794426393f9e0da7932b05acd8f4028a12cb3
Reviewed-on: http://gerrit.openafs.org/2960
Tested-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx.c | 59 ++++++++++++++++++++++-------------------------------------
1 files changed, 22 insertions(+), 37 deletions(-)
--
OpenAFS Master Repository