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 ada57bb70e23fbb5ee52dd456b33c8cdd41885ff
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Sun Sep 19 09:35:03 2010 -0700
Rx: avoid lock churn in rxi_ReceiveAckPacket
rxi_ReceiveAckPacket can acquire and drop the conn_data_lock several
times and acquires and drops the peer_lock unnecessarily. This patchset
adds a variable to track whether the conn_data_lock is held in order
to avoid the need to drop it and reacquire it based upon conditional
operations. It also relocates the peer->maxPacketSize computations
in order to consolidate the work performed under the peer_lock.
Change-Id: I0bc9e42e8ef198a04315f9f2df529073ce9dfd03
Reviewed-on: http://gerrit.openafs.org/2781
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
(cherry picked from commit c59ce29602086f795d5fbaef6a5f88fae9dd2dea)
Reviewed-on: http://gerrit.openafs.org/2806
src/rx/rx.c | 51 ++++++++++++++++++++++++++++-----------------------
1 files changed, 28 insertions(+), 23 deletions(-)
--
OpenAFS Master Repository