OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-2114-gc7673f4
Gerrit Code Review
gerrit@openafs.org
Fri, 20 Jan 2012 08:40:10 -0800 (PST)
The following commit has been merged in the master branch:
commit c7673f4fad8e8b9390564e3cbfa11d5f1b52ba2f
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date: Mon Nov 28 12:58:02 2011 -0500
rx: RX_CALL_IDLE and RX_CALL_BUSY
Allocate new Rx error codes for Idle and Busy calls but do not
send these errors on the wire. They are only intended for local
use.
RX_CALL_IDLE is an indication to an application that requests it
that the rx peer is maintaining an open call channel but has not
sent any actual data for the length of the registered idle dead
timeout.
RX_CALL_BUSY is an indication to an application that requests it
that the rx peer believes the selected call channel is in use by
a pre-existing call.
When either RX_CALL_IDLE or RX_CALL_BUSY are assigned as the call
error and an abort must be sent to the rx peer, the errors are
translated to RX_CALL_TIMEOUT. This is necessary because it is
not possible to add new Rx error values in a method that is safe
for peers that are not expecting them.
This patchset also documents which Rx errors defined in rx.h are
used on the wire and which are not.
The Unix and Windows cache managers are updated to build with
these new error codes.
Change-Id: Ib236f27b88d503c68134534bb069e12dd83537d8
Reviewed-on: http://gerrit.openafs.org/6128
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
src/WINNT/afsd/afsd_init.c | 2 +-
src/WINNT/afsd/cm.h | 3 -
src/WINNT/afsd/cm_conn.c | 11 ++---
src/WINNT/afsd/cm_server.c | 10 ++--
src/WINNT/afsd/cm_utils.c | 6 +++
src/afs/afs_analyze.c | 2 +-
src/afs/afs_call.c | 2 +-
src/afs/afs_conn.c | 4 +-
src/afs/afs_pag_call.c | 2 +-
src/libafsrpc/afsrpc.def | 2 +-
src/rx/rx.c | 91 +++++++++++++++++++++++++------------------
src/rx/rx.h | 44 ++++++++++++++++-----
src/rx/rx_conn.c | 6 ---
src/rx/rx_conn.h | 2 +-
src/rx/rx_prototypes.h | 2 +-
15 files changed, 111 insertions(+), 78 deletions(-)
--
OpenAFS Master Repository