OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-devel-1_5_77-156-g2a85a61
Gerrit Code Review
gerrit@openafs.org
Wed, 3 Nov 2010 06:00:17 -0700 (PDT)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 2a85a613d58f1d944d4d93181fb8d3143554215a
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().
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>
(cherry picked from commit 5613ea60fc9431dbc87bc8ad6439f9b5af38af5c)
Change-Id: Ie8e72b1c3d68e698048594b5ceddf90910fbc05e
Reviewed-on: http://gerrit.openafs.org/3249
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