OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_1pre1-22-g0b87254
Gerrit Code Review
gerrit@openafs.org
Mon, 23 Jan 2012 18:50:15 -0800 (PST)
The following commit has been merged in the openafs-stable-1_6_x branch:
commit 0b872544d0fa3a812d5f95b8cc720b6f1e5677c8
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.
eviewed-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>
(cherry picked from commit c7673f4fad8e8b9390564e3cbfa11d5f1b52ba2f)
Change-Id: I4c7d6733ddae03bda5a31fe4486ada090dcfd0b3
Reviewed-on: http://gerrit.openafs.org/6612
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/WINNT/afsd/afsd_init.c | 2 +-
src/WINNT/afsd/cm.h | 3 --
src/WINNT/afsd/cm_conn.c | 9 +++----
src/WINNT/afsd/cm_server.c | 13 ++++++----
src/WINNT/afsd/cm_utils.c | 6 ++++
src/afs/afs_analyze.c | 2 +-
src/afs/afs_call.c | 2 +-
src/afs/afs_conn.c | 2 -
src/afs/afs_pag_call.c | 2 +-
src/rx/rx.c | 58 ++++++++++++++++++++++++++-----------------
src/rx/rx.h | 46 ++++++++++++++++++++++++++--------
src/rx/rx_prototypes.h | 2 +-
12 files changed, 93 insertions(+), 54 deletions(-)
--
OpenAFS Master Repository