]> git.proxmox.com Git - mirror_zfs.git/commit
ZTS: Add L1 corruption test
authorRyan Moeller <ryan@iXsystems.com>
Wed, 21 Oct 2020 22:35:08 +0000 (22:35 +0000)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 6 Nov 2020 01:16:25 +0000 (17:16 -0800)
commit52e585a822cbdba27e138bbcbeab96ab080f63d0
tree154330275ac5f45668d0e549785c51ee4d7d5e78
parentcce66dfa8ee0e121741603874e25617a68d74e91
ZTS: Add L1 corruption test

Add a new test case which corrupts all level 1 block in a file.
Then verifies that corruption is detected and repaired.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ryan Moeller <ryan@iXsystems.com>
Closes #11141
tests/runfiles/common.run
tests/zfs-tests/tests/functional/checksum/Makefile.am
tests/zfs-tests/tests/functional/checksum/filetest_001_pos.ksh
tests/zfs-tests/tests/functional/checksum/filetest_002_pos.ksh [new file with mode: 0755]