OpenAFS Master Repository branch, master, updated. BP--openafs-stable-1_6_x-1037-g8084fc2

Gerrit Code Review gerrit@openafs.org
Wed, 6 Apr 2011 08:20:36 -0700 (PDT)


The following commit has been merged in the master branch:
commit 8084fc28a3069949bdc788f048fa8a96c012b96d
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Thu Mar 31 17:22:12 2011 -0500

    salvager: Error volumes on GetInodeSummary errors
    
    When GetInodeSummary fails due to an internal failure (not from just
    failing to find applicable inodes), currently it just returns an
    error, and does not return the checked-out singleVolumeNumber back to
    the fileserver.
    
    When we fail to gather inodes, we should force the volume to an error
    state, since we haven't salvaged the volume. But if we fail to find
    any applicable inodes, we just want to VOL_DONE the volume, since the
    header has possibly been destroyed, and the volume doesn't exist.
    
    So, issue an FSYNC_VOL_FORCE_ERROR command when we encounter errors in
    GetInodeSummary, except when we fail to find applicable inodes.
    
    Change-Id: I4aed126ec09c4b93cfd8572abeba3d22bff0e6a5
    Reviewed-on: http://gerrit.openafs.org/4439
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementia.org>

 src/vol/vol-salvage.c |   61 ++++++++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 55 insertions(+), 6 deletions(-)

-- 
OpenAFS Master Repository