OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_4-69-gbcd86eb

Gerrit Code Review gerrit@openafs.org
Fri, 20 Jan 2012 09:33:14 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit bcd86eb6c0beef452b7489a58f5a31bdd95f82a6
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.
    
    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>
    (cherry picked from commit c7673f4fad8e8b9390564e3cbfa11d5f1b52ba2f)
    
    Change-Id: I41fd850c876c3da36f657cb43e6abd8ed1048b8b
    Reviewed-on: http://gerrit.openafs.org/6591
    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