OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-197-g5613ea6
Gerrit Code Review
gerrit@openafs.org
Sat, 2 Oct 2010 10:14:18 -0700 (PDT)
The following commit has been merged in the master branch:
commit 5613ea60fc9431dbc87bc8ad6439f9b5af38af5c
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Wed Sep 22 16:36:03 2010 -0700
Rx: protect rx_conn and rx_call refCount field with rx_refcnt_mutex
Add a new global mutex rx_refcnt_mutex to protect the conn->refCount
and call->refCount in place of relying upon the conn->conn_data_lock
and the call->lock.
This will relieve some lock contention with rx_ReceivePacket().
Change-Id: Iebc04a87149a9fe69a7e312e8968b08c2e94148d
Reviewed-on: http://gerrit.openafs.org/2837
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx.c | 185 +++++++++++++++++++++++++++++++++++++--------------
src/rx/rx.h | 8 +-
src/rx/rx_globals.h | 1 +
src/rx/rx_packet.c | 4 +
src/rx/rx_rdwr.c | 6 ++-
5 files changed, 148 insertions(+), 56 deletions(-)
--
OpenAFS Master Repository