mirror_zfs/tests/zfs-tests
Paul Zuchowski 894f6696b4 Add display of checksums to zdb -R
The function zdb_read_block (zdb -R) was always intended to have a :c 
flag which would read the DVA and length supplied by the user, and 
display the checksum. Since we don't know which checksum goes with 
the data, we should calculate and display them all.

For each checksum in the table, read in the data at the supplied 
DVA:length, calculate the checksum, and display it. Update the man 
page and create a zfs test for the new feature.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Kjeld Schouten <kjeld@schouten-lebbing.nl>
Signed-off-by: Paul Zuchowski <pzuchowski@datto.com>
Closes #9607
2019-11-27 10:08:18 -08:00
..
callbacks ZTS: change $(cat) to $(<) for speedup 2018-10-31 12:00:06 -05:00
cmd OpenZFS restructuring - libspl 2019-10-02 10:39:48 -07:00
include ZTS: harden xattr/cleanup.ksh 2019-09-25 09:24:45 -07:00
tests Add display of checksums to zdb -R 2019-11-27 10:08:18 -08:00
Makefile.am OpenZFS 7503 - zfs-test should tail ::zfs_dbgmsg on test failure 2017-04-12 13:36:48 -07:00