OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1175-g80fe111

Gerrit Code Review gerrit@openafs.org
Sun, 15 May 2011 06:02:31 -0700 (PDT)


The following commit has been merged in the master branch:
commit 80fe111f0044aa7a67215ad92210dc72cb7eb2c0
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.
    
    Change-Id: I69c9e0862972f18ecc29ff709943d9a77f2db0a9
    Reviewed-on: http://gerrit.openafs.org/4641
    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