OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_1-155-g87bb4c9

Gerrit Code Review gerrit@openafs.org
Sat, 12 Nov 2011 16:10:25 -0800 (PST)


The following commit has been merged in the openafs-devel-1_7_x branch:
commit 87bb4c90402bbd2f68f9f489217a1d44ce0f11a8
Author: Andrew Deason <adeason@sinenomine.net>
Date:   Wed Nov 9 17:04:09 2011 -0600

    volser: Preserve needsSalvaged during restore
    
    Some of the routines during a volume restore may set needsSalvaged, if
    an inconsistency is detected while writing the given volume data.
    However, after the data is read, we set the volume header information
    to what was found in the dump stream, ignoring any needsSalvaged that
    may have been set.
    
    To ensure that inconsistent volumes in this situation actually get
    demand-salvaged (for DAFS) or offlined (non-DAFS), keep the value of
    needsSalvaged in the header, if it was set.
    
    Change-Id: Ie4895a8386642a762a523f2a0ac0e2d1b4ac3de7
    Reviewed-on: http://gerrit.openafs.org/5822
    Tested-by: BuildBot <buildbot@rampaginggeek.com>
    Reviewed-by: Derrick Brashear <shadow@dementix.org>
    (cherry-picked from 9ba891676a15512fa58915662cf599ea73eac430)
    Reviewed-on: http://gerrit.openafs.org/5985
    Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
    Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>

 src/volser/dumpstuff.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

-- 
OpenAFS Master Repository