diff options
author | Paul Zuchowski <[email protected]> | 2019-11-27 13:08:18 -0500 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2019-11-27 10:08:18 -0800 |
commit | 894f6696b4cf7cc2562da159ba5e6e8c806f35de (patch) | |
tree | 954bd2a467bf23573297d45d838a712eec7e3aff /include/sys/sysevent | |
parent | 0c46813805f428038f0f5e2541cdab8034c2f082 (diff) |
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 <[email protected]>
Reviewed-by: Kjeld Schouten <[email protected]>
Signed-off-by: Paul Zuchowski <[email protected]>
Closes #9607
Diffstat (limited to 'include/sys/sysevent')
0 files changed, 0 insertions, 0 deletions