OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0pre5-22-g23db3f3

Gerrit Code Review gerrit@openafs.org
Sun, 22 May 2011 11:49:48 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit 23db3f30b82d803bf0af5a1ac66841cfa519690e
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Tue May 10 14:16:06 2011 -0500

    libafs: Flush vcaches in afs_shutdown
    
    Currently, a few platforms (linux, linux24, solaris, irix) flush all
    vcaches during shutdown. However, they do this before calling
    afs_shutdown(), resulting in afs_FlushVCache queueing VCBs and
    possibly trying to give the callbacks back to the server.
    
    Instead of this, perform the flushes in afs_shutdown itself, so we do
    this after we try to give up all callbacks to all servers, and we do
    this while afs_shuttingdown is set, so we don't try to queue VCBs.
    This also consolidates some of the duplicated code to flush all
    vcaches, and now does this for all platforms.
    
    Reviewed-on: http://gerrit.openafs.org/4641
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>
    (cherry picked from commit 80fe111f0044aa7a67215ad92210dc72cb7eb2c0)
    
    Change-Id: I90afacbdd7ef0f52de4589001ec9bb8ffd292782
    Reviewed-on: http://gerrit.openafs.org/4702
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/afs/LINUX/osi_prototypes.h   |    1 -
 src/afs/LINUX/osi_vfsops.c       |   31 +------------------------------
 src/afs/LINUX24/osi_prototypes.h |    1 -
 src/afs/LINUX24/osi_vfsops.c     |   29 -----------------------------
 src/afs/SOLARIS/osi_vfsops.c     |   12 ------------
 src/afs/afs_call.c               |    6 +++++-
 src/afs/afs_prototypes.h         |    1 +
 src/afs/afs_vcache.c             |   27 +++++++++++++++++++++++++++
 8 files changed, 34 insertions(+), 74 deletions(-)

-- 
OpenAFS Master Repository