OpenAFS Master Repository branch, openafs-stable-1_4_x, updated. openafs-stable-1_4_12-141-g12fd096

Gerrit Code Review gerrit@openafs.org
Tue, 2 Oct 2012 13:19:19 -0700 (PDT)


The following commit has been merged in the openafs-stable-1_4_x branch:
commit 12fd096719b2cb41a69d6442276b60e5a40d4f78
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Tue Aug 21 17:03:30 2012 -0500

    LINUX: Avoid symlink-y resolution limits
    
    Implementing the d_automount or follow_link function pointers for our
    directories means that we can hit symlink resolution limits during
    lookup, since we look like a "symlink". We can hit these limits pretty
    easily if there are just too many directories in the lookup path.
    
    Our pseudo-symlink directories cannot contribute to an infinite
    resolution loop, since our destination is always an actual directory,
    not a symlink that will result in more redirection. So, decrement the
    total_link_count counter when our d_automount or follow_link code is
    reached, so we do not contribute to hitting the max resolution limit.
    
    Note that this is not related to recursive symlink lookup (link_count)
    but only to the iterative symlink limit (total_link_count). Our
    lookups are not recursive here, and we are not causing more recursive
    lookups like a normal text-based symlink would do.
    
    Reviewed-on: http://gerrit.openafs.org/8009
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    (cherry picked from commit 238b88624a8fef39557d397cc336c88bd8efc5b1)
    
    Change-Id: Ib14ee9d160189da658f36578e21bd458e6e7832a
    Reviewed-on: http://gerrit.openafs.org/8195
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@your-file-system.com>

 src/afs/LINUX/osi_vnodeops.c |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository