OpenAFS Master Repository branch, master, updated. openafs-devel-1_5_76-1861-g9ba8916
Gerrit Code Review
gerrit@openafs.org
Wed, 9 Nov 2011 19:19:56 -0800 (PST)
The following commit has been merged in the master branch:
commit 9ba891676a15512fa58915662cf599ea73eac430
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: I575d14d84120be0fbbeb185ed2726f1285e6f2ce
Reviewed-on: http://gerrit.openafs.org/5822
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementix.org>
src/volser/dumpstuff.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
--
OpenAFS Master Repository