OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-130-g7d16c8b

Gerrit Code Review gerrit@openafs.org
Mon, 20 Sep 2010 01:53:22 -0700 (PDT)


The following commit has been merged in the master branch:
commit 7d16c8b84ac8cc0251231819bfb0eefc2040322a
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Sun Sep 19 09:47:37 2010 -0700

    Rx: only compute peer bytes sent and received if rx_stats_active
    
    Computing the bytes sent and received is an expensive operation.
    If rx statistics collection has been disabled we should not collect
    the peer data.  The most expensive operation is the rx_FindPeer()
    call that is performed during rxi_ReadPacket().  rxi_ReadPacket()
    is processed by the rx listener thread which must be as fast as
    possible.
    
    Change-Id: I5403c88aa85f9049fe50a9c1f3dbaad7d8b802bd
    Reviewed-on: http://gerrit.openafs.org/2782
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Derrick Brashear <shadow@dementia.org>

 src/rx/rx_packet.c |   66 ++++++++++++++++++++++++++-------------------------
 1 files changed, 34 insertions(+), 32 deletions(-)

-- 
OpenAFS Master Repository