diff options
author | Allan Jude <[email protected]> | 2021-09-09 10:17:31 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-09-09 08:17:31 -0600 |
commit | a68e4b5919dc5e7f53762d37adcc711174e1e936 (patch) | |
tree | d057329c6338f4ebc2a18cd6d6734cd58c388806 /module/zfs/zfs_onexit.c | |
parent | 7676ffc51f5e4963c7e7f9971561f483dcd65976 (diff) |
Allow sending corrupt snapshots even if metadata is corrupted
When zfs_send_corrupt_data is set, use the TRAVERSE_HARD flag,
so traverse_visitbp() will not fail with ECKSUM if a blockpointer
cannot be read, but rather will continue and send the objects it can.
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: John Kennedy <[email protected]>
Signed-off-by: Allan Jude <[email protected]>
Sponsored-By: Klara Inc.
Sponsored-By: WHC Online Solutions Inc.
Closes #12541
Diffstat (limited to 'module/zfs/zfs_onexit.c')
0 files changed, 0 insertions, 0 deletions