mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-22 02:27:36 +03:00
Add zfs_send_corrupt_data module option
Tuning setting to ignore read/checksum errors when sending data. Signed-off-by: Turbo Fredriksson <turbo@bayour.com> Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #1982 Issue #1897
This commit is contained in:
committed by
Brian Behlendorf
parent
4788a01dbd
commit
fd8febbd1e
@@ -1849,3 +1849,8 @@ dmu_objset_is_receiving(objset_t *os)
|
||||
return (os->os_dsl_dataset != NULL &&
|
||||
os->os_dsl_dataset->ds_owner == dmu_recv_tag);
|
||||
}
|
||||
|
||||
#if defined(_KERNEL)
|
||||
module_param(zfs_send_corrupt_data, int, 0644);
|
||||
MODULE_PARM_DESC(zfs_send_corrupt_data, "Allow sending corrupt data");
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user