[tests/thin_dump] remove some extraneous output to stderr
This commit is contained in:
parent
c5645d798f
commit
a568da8c71
@ -326,9 +326,6 @@ pub fn dump(opts: ThinDumpOptions) -> Result<()> {
|
|||||||
sb = read_superblock(ctx.engine.as_ref(), SUPERBLOCK_LOCATION)?;
|
sb = read_superblock(ctx.engine.as_ref(), SUPERBLOCK_LOCATION)?;
|
||||||
}
|
}
|
||||||
let md = build_metadata(ctx.engine.clone(), &sb)?;
|
let md = build_metadata(ctx.engine.clone(), &sb)?;
|
||||||
|
|
||||||
ctx.report
|
|
||||||
.set_title("Optimising metadata to improve leaf packing");
|
|
||||||
let md = optimise_metadata(md)?;
|
let md = optimise_metadata(md)?;
|
||||||
|
|
||||||
let writer: Box<dyn Write>;
|
let writer: Box<dyn Write>;
|
||||||
|
@ -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.
|
// FIXME: I think this may be better done as part of restore.
|
||||||
pub fn optimise_metadata(md: Metadata) -> Result<Metadata> {
|
pub fn optimise_metadata(md: Metadata) -> Result<Metadata> {
|
||||||
let runs = build_runs(&md.devs);
|
let runs = build_runs(&md.devs);
|
||||||
eprintln!("{} runs", runs.len());
|
|
||||||
|
|
||||||
// Expand old devs to use the new atomic runs
|
// Expand old devs to use the new atomic runs
|
||||||
let mut devs = Vec::new();
|
let mut devs = Vec::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user