[tests/thin_dump] remove some extraneous output to stderr

This commit is contained in:
Joe Thornber 2021-10-19 15:23:17 +01:00
parent c5645d798f
commit a568da8c71
2 changed files with 0 additions and 4 deletions

View File

@ -326,9 +326,6 @@ pub fn dump(opts: ThinDumpOptions) -> Result<()> {
sb = read_superblock(ctx.engine.as_ref(), SUPERBLOCK_LOCATION)?;
}
let md = build_metadata(ctx.engine.clone(), &sb)?;
ctx.report
.set_title("Optimising metadata to improve leaf packing");
let md = optimise_metadata(md)?;
let writer: Box<dyn Write>;

View File

@ -214,7 +214,6 @@ fn build_defs(runs: BTreeMap<u64, Vec<u64>>) -> Vec<Def> {
// FIXME: I think this may be better done as part of restore.
pub fn optimise_metadata(md: Metadata) -> Result<Metadata> {
let runs = build_runs(&md.devs);
eprintln!("{} runs", runs.len());
// Expand old devs to use the new atomic runs
let mut devs = Vec::new();