OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-226-ge445faa
Gerrit Code Review
gerrit@openafs.org
Tue, 5 Oct 2010 06:49:51 -0700 (PDT)
The following commit has been merged in the master branch:
commit e445faa68c5ec6e47d3fd9d7318ade71d98703a9
Author: Simon Wilkinson <sxw@your-file-system.com>
Date: Fri Oct 1 23:17:56 2010 -0400
rx: Reduce dependence on call->lock
This patch reduces our dependence on call->lock, by allowing more
of the reader thread to run lock free. Doing so requires that
call->mode only be set by the reader thread. As a result, call->mode
can only be set to RX_CALL_ERROR by rxi_CallError(). The mode is
set to RX_CALL_ERROR by the reader thread immediately after regaining
the call->lock when it has been dropped.
Change-Id: Ie9541d8beac2d428526f8b2b4cc0004219e820be
Reviewed-on: http://gerrit.openafs.org/2880
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Simon Wilkinson <sxw@inf.ed.ac.uk>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx.c | 8 +++-
src/rx/rx_packet.c | 22 ++++++++--
src/rx/rx_rdwr.c | 106 +++++++++++++++++++++++++++++++++------------------
3 files changed, 92 insertions(+), 44 deletions(-)
--
OpenAFS Master Repository