OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2408-ga3ff628

Gerrit Code Review
Mon, 16 Apr 2012 08:59:27 -0700 (PDT)

The following commit has been merged in the master branch:
commit a3ff62857cb76e403c11a27a250aa3c79d66ebb6
Author: Simon Wilkinson <>
Date:   Fri Apr 13 19:14:44 2012 +0100

    rx: Remove surplus call to FindPeer
    When stats are enabled, rxi_ReadPacket calls FindPeer immediately
    the packet is received from the wire. The peer structure that it
    gets is used solely to increment a counter, and then thrown away.
    Given that FindPeer requires a lock, and a hash lookup, this is
    really inefficent.
    Instead, delay the compilation of statistics until rxi_ReceivePacket.
    Call FindPeer for version and debug packets which have no associated
    connection otherwise wait until we have found the packet's connection,
    and use the peer which is linked from there.
    Change-Id: Ic2eb08e52b97d6b033b9d3de59da9346e012d70d
    Reviewed-by: Simon Wilkinson <>
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>

 src/rx/rx.c        |   27 +++++++++++++++++++++++++++
 src/rx/rx_packet.c |   30 ++++--------------------------
 2 files changed, 31 insertions(+), 26 deletions(-)

OpenAFS Master Repository