aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorJohn Wren Kennedy <[email protected]>2019-09-09 17:11:07 -0600
committerBrian Behlendorf <[email protected]>2019-09-09 16:11:07 -0700
commitb63e2d881f859f0c7d8596be2759dd096e324f48 (patch)
treea4accfc27c1cada38181468944ac4ec2ac039d98 /include/sys
parent43f4495bde1f862a7f234919fb6c627abfdbd040 (diff)
ZTS: Introduce targeted corruption in file blocks
filetest_001_pos verifies that various checksum algorithms detect corruption by overwriting the underlying vdev on which a file resides. It is possible for the overwrite to miss the blocks of a file, causing a spurious failure. This change introduces a function to corrupt the individual blocks of a file as determined by zdb. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: John Kennedy <[email protected]> Closes #9288
Diffstat (limited to 'include/sys')
0 files changed, 0 insertions, 0 deletions