mirror_zfs/tests/zfs-tests/cmd
Alek P e8cf3a4f76
Implement a new type of zfs receive: corrective receive (-c)
This type of recv is used to heal corrupted data when a replica
of the data already exists (in the form of a send file for example).
With the provided send stream, corrective receive will read from
disk blocks described by the WRITE records. When any of the reads
come back with ECKSUM we use the data from the corresponding WRITE
record to rewrite the corrupted block.

Reviewed-by: Paul Dagnelie <pcd@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Paul Zuchowski <pzuchowski@datto.com>
Signed-off-by: Alek Pinchuk <apinchuk@axcient.com>
Closes #9372
2022-07-28 15:52:46 -07:00
..
checksum Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
file Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
linux_dos_attributes tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
.gitignore Introduce BLAKE3 checksums as an OpenZFS feature 2022-06-08 15:55:57 -07:00
badsend.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
btree_test.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
chg_usr_exec.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
cp_files.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
ctime.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
devname2devid.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
dir_rd_update.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
dosmode_readonly_write.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
draid.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
ereports.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
get_diff.c Enable -Wwrite-strings 2022-06-29 14:08:54 -07:00
getversion.c tests: cmd: don't recurse 2022-04-01 17:58:23 -07:00
libzfs_input_check.c Implement a new type of zfs receive: corrective receive (-c) 2022-07-28 15:52:46 -07:00
Makefile.am Introduce BLAKE3 checksums as an OpenZFS feature 2022-06-08 15:55:57 -07:00
mkbusy.c Enable -Wwrite-strings 2022-06-29 14:08:54 -07:00
mkfile.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mkfiles.c Enable -Wwrite-strings 2022-06-29 14:08:54 -07:00
mktree.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mmap_exec.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mmap_libaio.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mmap_seek.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
mmap_sync.c Speed up WB_SYNC_NONE when a WB_SYNC_ALL occurs simultaneously 2022-05-03 13:23:26 -07:00
mmapwrite.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
nvlist_to_lua.c Enable -Wwrite-strings 2022-06-29 14:08:54 -07:00
readmmap.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
rename_dir.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
rm_lnkcnt_zero_file.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
send_doall.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
stride_dd.c Enable -Wwrite-strings 2022-06-29 14:08:54 -07:00
suid_write_to_file.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
threadsappend.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
truncate_test.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
user_ns_exec.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
xattrtest.c Replace dead opensolaris.org license link 2022-07-11 14:16:13 -07:00
zed_fd_spill-zedlet.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00
zfs_diff-socket.c tests: move C test helpers into test cmd 2022-04-01 18:01:39 -07:00