OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-devel-1_5_77-26-g6a8e622
Gerrit Code Review
gerrit@openafs.org
Mon, 27 Sep 2010 08:29:55 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 6a8e622bbec9fd6263d621669208e26f88339391
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>
(cherry picked from commit 7d16c8b84ac8cc0251231819bfb0eefc2040322a)
Reviewed-on: http://gerrit.openafs.org/2807
src/rx/rx_packet.c | 66 ++++++++++++++++++++++++++-------------------------
1 files changed, 34 insertions(+), 32 deletions(-)
--
OpenAFS Master Repository