]> git.michaelhowe.org Git - packages/o/openafs.git/commit
Rx: properly compute dataPacketsReSent statistic
authorJeffrey Altman <jaltman@your-file-system.com>
Sun, 19 Sep 2010 16:03:39 +0000 (09:03 -0700)
committerDerrick Brashear <shadow@dementia.org>
Mon, 27 Sep 2010 15:31:10 +0000 (08:31 -0700)
commit36ce1b03e4d9a01f7a128b2deabf03b4ace4ecf0
treeab86a10fe0e4741fb5ce65ae68f046bb1c5a8ccf
parent88168412f37514338b55daebf9fa16742d6bfd3f
Rx: properly compute dataPacketsReSent statistic

The global dataPacketsReSent statistic should be the sum of all
peer->reSends and dataPacketsSent should not include the count of
resent packets.  Prior to this patchset, dataPacketsSent included
the resent packets and dataPacketsReSent was computed as the number
of requests for Ack instead of the number of packets resent.

Change-Id: I969003f7ec1805d09c14ac342453f86fdb5df99a
Reviewed-on: http://gerrit.openafs.org/2776
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit 8549ebe0a81ac9a526d13f96ba63e048d8b77aa7)
Reviewed-on: http://gerrit.openafs.org/2811
src/rx/rx.c