afs: Remove AFS_BOZONLOCK_ENV
authorChas Williams (CONTRACTOR) <chas@cmf.nrl.navy.mil>
Sat, 26 Apr 2014 18:49:36 +0000 (14:49 -0400)
committerJeffrey Altman <jaltman@your-file-system.com>
Sun, 7 Dec 2014 17:26:13 +0000 (12:26 -0500)
commitdc4d9d64342b76be7be3e8f0264e66c6d943b64c
tree0bb84c3e9977ebb28e7876cab06fc3aa3b776af4
parent2725a4ca14fb29f897d905d9de0e3c9c1925e597
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>
19 files changed:
src/afs/DARWIN/osi_vcache.c
src/afs/DARWIN/osi_vnodeops.c
src/afs/FBSD/osi_vnodeops.c
src/afs/VNOPS/afs_vnop_attrs.c
src/afs/VNOPS/afs_vnop_open.c
src/afs/VNOPS/afs_vnop_remove.c
src/afs/VNOPS/afs_vnop_rename.c
src/afs/afs.h
src/afs/afs_bypasscache.c
src/afs/afs_lock.c
src/afs/afs_pioctl.c
src/afs/afs_prototypes.h
src/afs/afs_stats.h
src/afs/afs_vcache.c
src/afs/lock.h
src/config/param.alpha_dux40.h [deleted file]
src/config/param.alpha_dux50.h [deleted file]
src/config/param.alpha_dux51.h [deleted file]
src/config/param.ppc_darwin_80.h