diff options
author | Paul Zuchowski <[email protected]> | 2019-12-10 18:51:58 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-12-10 15:51:58 -0800 |
commit | f0bf4351767ab95b1b5e9baa5445db20ffacd00d (patch) | |
tree | b828b618046572e894277fa706b80508647026f5 /man/man8 | |
parent | b119e2c6f185008001667a621521417111b21aa8 (diff) |
zio_decompress_data always ASSERTs successful decompression
This interferes with zdb_read_block trying all the decompression
algorithms when the 'd' flag is specified, as some are
expected to fail. Also control the output when guessing
algorithms, try the more common compression types first, allow
specifying lsize/psize, and fix an uninitialized variable.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Paul Zuchowski <[email protected]>
Closes #9612
Closes #9630
Diffstat (limited to 'man/man8')
-rw-r--r-- | man/man8/zdb.8 | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/man/man8/zdb.8 b/man/man8/zdb.8 index 55689a994..7c50d95d9 100644 --- a/man/man8/zdb.8 +++ b/man/man8/zdb.8 @@ -63,7 +63,7 @@ .Op Fl A .Op Fl e Oo Fl V Oc Op Fl p Ar path ... .Op Fl U Ar cache -.Ar poolname vdev Ns \&: Ns Ar offset Ns \&: Ns Ar size Ns Op : Ns Ar flags +.Ar poolname vdev Ns \&: Ns Ar offset Ns \&: Ns Ar [<lsize>/]<psize> Ns Op : Ns Ar flags .Nm .Fl S .Op Fl AP @@ -228,7 +228,7 @@ This option can be combined with .Fl v for increasing verbosity. .It Xo -.Fl R Ar poolname vdev Ns \&: Ns Ar offset Ns \&: Ns Ar size Ns Op : Ns Ar flags +.Fl R Ar poolname vdev Ns \&: Ns Ar offset Ns \&: Ns Ar [<lsize>/]<psize> Ns Op : Ns Ar flags .Xc Read and display a block from the specified device. By default the block is displayed as a hex dump, but see the description of the @@ -241,8 +241,8 @@ The block is specified in terms of a colon-separated tuple .Ar offset .Pq the offset within the vdev .Ar size -.Pq the size of the block to read -and, optionally, +.Pq the physical size, or logical size / physical size +of the block to read and, optionally, .Ar flags .Pq a set of flags, described below . .Pp @@ -263,6 +263,8 @@ Dump gang block header Dump indirect block .It Sy r Dump raw uninterpreted block data +.It Sy v +Verbose output for guessing compression algorithm .El .It Fl s Report statistics on |