OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-4511-gdc4d9d6

Gerrit Code Review gerrit@openafs.org
Sun, 7 Dec 2014 12:26:34 -0500


The following commit has been merged in the master branch:
commit dc4d9d64342b76be7be3e8f0264e66c6d943b64c
Author: Chas Williams (CONTRACTOR) <chas@cmf.nrl.navy.mil>
Date:   Sat Apr 26 14:49:36 2014 -0400

    afs: Remove AFS_BOZONLOCK_ENV
    
    The only user of AFS_BOZONLOCK_ENV is ppc_darwin_80.  This was added
    to the param file by commit:
    
        commit 379e3be3196aeb3fefaa1e9296e52a9f8018550a
        Author: Derrick Brashear <shadow@dementia.org>
        Date:   Sun Jun 19 00:20:01 2005 +0000
    
            ppc-darwin80-20050618
    
            this is actually a throwaway
    
    It isn't clear to me what the intent was.  Darwin clearly isn't
    using the Bozon lock around every osi_FlushPages() despite comments
    in DARWIN/osi_vnodeops.c about said lock.   The possibility of the
    Bozon lock being required only ppc_darwin_80 and not ppc_darwin_70 and
    ppc_darwin_90 is unlikely.
    
    The comments about the Bozon lock in FBSD/osi_vnodeops.c appears to be
    a copy/paste from DARWIN's.  Curiously, FBSD doesn't drop the GLOCK()
    when osi_FlushPages() calls osi_VM_FlushPages() despite a comment to
    the contrary in osi_VM_FlushPages().
    
    Also, instead of editing the alpha_dux param files, just remove them.
    Nothing is using them.
    
    Change-Id: Ic1f6aabd82b9bd3686c95fd501a9d72163595421
    Reviewed-on: http://gerrit.openafs.org/11108
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/afs/DARWIN/osi_vcache.c      |    6 -
 src/afs/DARWIN/osi_vnodeops.c    |   10 +-
 src/afs/FBSD/osi_vnodeops.c      |    8 +-
 src/afs/VNOPS/afs_vnop_attrs.c   |   19 +----
 src/afs/VNOPS/afs_vnop_open.c    |    6 -
 src/afs/VNOPS/afs_vnop_remove.c  |    7 --
 src/afs/VNOPS/afs_vnop_rename.c  |    6 -
 src/afs/afs.h                    |    3 -
 src/afs/afs_bypasscache.c        |   16 ---
 src/afs/afs_lock.c               |   71 --------------
 src/afs/afs_pioctl.c             |   18 ----
 src/afs/afs_prototypes.h         |    7 --
 src/afs/afs_stats.h              |   10 +-
 src/afs/afs_vcache.c             |   12 ---
 src/afs/lock.h                   |   12 ---
 src/config/param.alpha_dux40.h   |  185 ------------------------------------
 src/config/param.alpha_dux50.h   |  193 -------------------------------------
 src/config/param.alpha_dux51.h   |  194 --------------------------------------
 src/config/param.ppc_darwin_80.h |    2 -
 19 files changed, 15 insertions(+), 770 deletions(-)

-- 
OpenAFS Master Repository