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:
Turbo Fredriksson
2013-12-17 21:53:52 +00:00
committed by Brian Behlendorf
parent 4788a01dbd
commit fd8febbd1e
2 changed files with 16 additions and 0 deletions
+5
View File
@@ -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