HomeFreeBSD

Reduce zdb output when pool contains checkpoint

Description

Reduce zdb output when pool contains checkpoint

When running zdb without additional arguments against a pool containing
a checkpoint the entire checkpoint spacemap should not be dumped. Make
this behavior conditional upon passing the -mmmm option as described in
the zdb(8) man page.

     -mmmm   Display every spacemap record.

Reviewed-by: Serapheim Dimitropoulos <serapheim.dimitro@delphix.com>
Reviewed-by: Giuseppe Di Natale <guss80@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #7702

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jul 11 2018, 4:23 AM
GitHub <noreply@github.com>Committed on Jul 11 2018, 4:23 AM
Parents
rG00c405b4b5e8: OpenZFS 9454 - ::zfs_blkstats should count embedded blocks
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGe2cc448b6013: Reduce zdb output when pool contains checkpoint (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jul 11 2018, 4:23 AM