OpenAFS Master Repository branch, openafs-stable-1_8_x, updated. openafs-stable-1_8_0pre3-13-g4b633c9

Gerrit Code Review gerrit@openafs.org
Wed, 3 Jan 2018 00:46:21 -0500


The following commit has been merged in the openafs-stable-1_8_x branch:
commit 4b633c9681057122b9266b8a775d0ad5aa0a3ac3
Author: Mark Vitale <mvitale@sinenomine.net>
Date:   Thu Nov 30 17:56:13 2017 -0500

    LINUX: consolidate duplicate code in osi_TryEvictDentries
    
    The two stanzas for HAVE_DCACHE_LOCK are now functionally identical;
    remove the preprocessor conditionals and duplicate code.
    
    Minor functional change is incurrred for very old (before 2.6.38) Linux
    versions that have dcache_lock; we are now obtaining the d_lock as well.
    
    This is safe because d_lock is also quite old (pre-git, 2.6.12), and it
    is a spinlock that's only held for checking d_unhashed.  Therefore, it
    should have negligible performance impact.  It cannot cause deadlocks or
    violate locking order, because spinlocks can't be held across sleeps.
    
    Reviewed-on: https://gerrit.openafs.org/12792
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>
    Reviewed-by: Andrew Deason <adeason@dson.org>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    (cherry picked from commit 5076dfc14b980aed310f3862875d5e9919fa199d)
    
    Change-Id: I7a17494b40c049a562dec20c50c27125f54436d0
    Reviewed-on: https://gerrit.openafs.org/12850
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Benjamin Kaduk <kaduk@mit.edu>

 src/afs/LINUX/osi_vcache.c |   23 +----------------------
 1 files changed, 1 insertions(+), 22 deletions(-)

-- 
OpenAFS Master Repository