OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-391-g19d2e0e

Gerrit Code Review gerrit@openafs.org
Tue, 9 Nov 2010 11:13:07 -0800 (PST)


The following commit has been merged in the master branch:
commit 19d2e0e34b5f100fdbec1da8373badd624c02248
Author: Tom Keiser <tkeiser@sinenomine.net>
Date:   Thu Oct 14 01:24:03 2010 -0400

    vol: make namei_ListAFSSubDirs deal with multiple/bad linktables
    
    The salvager ends up deadlocking when multiple linktables exist
    in the same volume group special directory.  The issue is that we
    open and flock all discovered linktables, but only close out the
    last one found.  Consequently, when our child scans the linktables
    again, we deadlock against the locked and leaked descriptor(s) our
    parent left around before forking.
    
    While we have so far been unable to root-cause the actual creation
    of spurious linktables, this patch will at least stop the salvager
    from deadlocking against itself when this occurs.
    
    Change-Id: I67821f2c99663c56e4ec0b008e1d2d3a8751df0e
    Reviewed-on: http://gerrit.openafs.org/2979
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/vol/namei_ops.c |   22 ++++++++++++++++++++++
 1 files changed, 22 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository