OpenAFS Master Repository branch, openafs-stable-1_6_x, updated. openafs-stable-1_6_0b-247-gf8818eb

Gerrit Code Review gerrit@openafs.org
Fri, 16 Dec 2011 16:32:23 -0800 (PST)


The following commit has been merged in the openafs-stable-1_6_x branch:
commit f8818eb569d1da05a157f31bbcc927e028372a33
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed Dec 14 14:42:08 2011 -0600

    afs: Clear VHardMount on ResetVolumeInfo
    
    afs_Analyze sets VHardMount on a volume struct when a hard-mount
    scenario is encountered, and clears it after sleeping. However, if the
    volume struct has VRecheck set, or if it's not in memory, afs_Analyze
    cannot retrieve the volume struct in order to clear VHardMount again.
    
    For the VRecheck case, this can results in VHardMount never getting
    cleared, and so hard-mount messages for the volume seem to disappear.
    So, clear VHardMount when we set VRecheck so this does not occur.
    
    For the case where the volume struct is not in memory, this is not a
    problem, since when we allocate a volume struct again, the VHardMount
    state will not be retained.
    
    Reviewed-on: http://gerrit.openafs.org/6335
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    (cherry picked from commit f469be407789e696c0b9e9a431b4879798a00e2a)
    
    Change-Id: If13769445f20336dfba9755f3af0a1499ce16a6d
    Reviewed-on: http://gerrit.openafs.org/6348
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    Tested-by: Derrick Brashear <shadow@dementix.org>

 src/afs/afs_volume.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository