Merge branch 'master' into 2015-08-19-thin-show-duplicates

This commit is contained in:
Joe Thornber 2015-09-08 13:01:34 +01:00
commit e0c749ed04
4 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
v0.5.6
======
era_invalidate may be run on live metadata if the --metadata-snap option is given.
v0.5.5
======

View File

@ -1 +1 @@
0.5.5
0.5.6

View File

@ -152,7 +152,7 @@ namespace {
int invalidate(string const &dev, string const &output, flags const &fs) {
try {
set<uint32_t> blocks;
block_manager<>::ptr bm = open_bm(dev, block_manager<>::READ_ONLY);
block_manager<>::ptr bm = open_bm(dev, block_manager<>::READ_ONLY, !fs.metadata_snapshot_);
if (fs.metadata_snapshot_) {
superblock sb = read_superblock(bm);

View File

@ -11,7 +11,7 @@ era_invalidate \- Provide a list of blocks that have changed since a particular
.B era_invalidate
Examines era metadata and lists blocks that may have changed since a given era.
This tool cannot be run on live metadata.
This tool cannot be run on live metadata unless the \fB\-\-metadata\-snap\fP option is used.
.SH OPTIONS
.IP "\fB\-h, \-\-help\fP"