cce66dfa8e
The second part of list_file_blocks transforms the object description output by zdb -ddddd $ds $objnum into a stream of lines of the form "level path offset length" for the indirect blocks in the given file. The current code only works for the first copy of L0 blocks. L1 and L2 indirect blocks have more than one copy on disk. Add one more -d to the zdb command so we get all block copies and rewrite the transformation to match more than L0 and output all DVAs. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ryan Moeller <ryan@iXsystems.com> Closes #11141 |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
blkdev.shlib | ||
commands.cfg | ||
default.cfg.in | ||
libtest.shlib | ||
math.shlib | ||
properties.shlib | ||
tunables.cfg | ||
zpool_script.shlib |