OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-649-g8895fe0

Gerrit Code Review gerrit@openafs.org
Tue, 18 Jan 2011 09:55:08 -0800 (PST)


The following commit has been merged in the master branch:
commit 8895fe0fab04d49f8c2b279d915c5f292b55c2be
Author: Jeffrey Altman <jaltman@your-file-system.com>
Date:   Sun Jan 16 15:49:02 2011 -0500

    Windows: refactor cm_CheckCBExpiration multihomed
    
    cm_CheckCBExpiration() is refactored to make it easier
    to read the decision process.  cm_CheckCBExpiration()
    determines when a callback is no longer usable and as a
    result the object status info should be discarded.
    
    The windows cache manager preserves status info past
    callback expiration if all of the sources of a volume
    became inaccessible prior to the callback expiration
    time.  The cache manager was improperly preserving the
    status info for objects when the callback was issued by
    a multi-homed file server when only the interface that
    issued the callback is down.
    
    A separate cm_server_t object is used to represent
    each file server interface.  When one interface goes
    down and others are left up, the cache manager will
    now replace the down cm_server_t reference for one that
    is up.  This substitution is performed as a side effect
    of computing the effective downTime in cm_CBServersDownTime().
    
    Change-Id: Ia6336a3bdd0219497fd47460accddd0cd2629f00
    Reviewed-on: http://gerrit.openafs.org/3674
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    Tested-by: Jeffrey Altman <jaltman@openafs.org>
    Reviewed-by: Jeffrey Altman <jaltman@openafs.org>

 src/WINNT/afsd/cm_callback.c |  169 +++++++++++++++++++++++++++++------------
 1 files changed, 119 insertions(+), 50 deletions(-)

-- 
OpenAFS Master Repository