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 c59ce29602086f795d5fbaef6a5f88fae9dd2dea
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>
src/rx/rx.c | 51 ++++++++++++++++++++++++++++-----------------------
1 files changed, 28 insertions(+), 23 deletions(-)
--
OpenAFS Master Repository