HomeFreeBSD

Make zdb -R a little more sane.

Description

Make zdb -R a little more sane.

zdb -R has a minor flaw in which it will not always print the full
output of a decompressed block. Oops.

While I was in there, I also reworked the logic so it won't try
ZLE unless everything else fails, which will hopefully avoid the
problem ZDB_NO_ZLE was intended to mitigate of reporting a lot of
false positives of ZLE compressed blocks...

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #15723

Details

Provenance
rincebrain_gmail.comAuthored on Jan 16 2024, 9:16 PM
GitHub <noreply@github.com>Committed on Jan 16 2024, 9:16 PM
Parents
rG995734ed12de: ZTS: Test for clone, mmap and write for block cloning
Branches
Unknown
Tags
Unknown