OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-851-geddcee3
Gerrit Code Review
gerrit@openafs.org
Tue, 8 Mar 2011 11:56:13 -0800 (PST)
The following commit has been merged in the master branch:
commit eddcee3ad518dff9fbfda790640c5bfd2e97ef5a
Author: Andrew Deason <adeason@sinenomine.net>
Date: Mon Mar 7 11:08:26 2011 -0600
RX: Avoid timing out non-kernel busy channels
When we encounter a "busy" call channel (indicated by receiving
RX_PACKET_TYPE_BUSY packets), we can error out a call with
RX_CALL_TIMEOUT to try and get the application code to retry the call.
However, many RX applications are not aware of this, and will just
fail with an error upon receiving a single busy packet.
So instead, make this behavior optional, and only do it if the
application tells us what specific error it expects to receive when a
busy call channel is detected. Enable this behavior for the Unix cache
manager, as it can cope with receiving an RX_CALL_TIMEOUT error in
this scenario.
Change-Id: I2fe03c0ff81576da3b2ce2b4d27a16d5631c073e
Reviewed-on: http://gerrit.openafs.org/4159
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/afs/afs_call.c | 2 ++
src/afs/afs_pag_call.c | 1 +
src/libafsrpc/afsrpc.def | 1 +
src/libafsrpc/afsrpc.exp | 1 +
src/rx/rx.c | 33 +++++++++++++++++++++++++++++----
src/rx/rx_prototypes.h | 1 +
src/shlibafsrpc/Makefile.in | 2 +-
src/shlibafsrpc/libafsrpc.map | 1 +
8 files changed, 37 insertions(+), 5 deletions(-)
--
OpenAFS Master Repository