diff options
author | Turbo Fredriksson <[email protected]> | 2013-12-17 21:53:52 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2013-12-18 16:46:35 -0800 |
commit | fd8febbd1e6ff3d3eec6b9d395ab65400769da19 (patch) | |
tree | 387a3ae2617b47c25cf0b562a103b23849b87ea2 /module | |
parent | 4788a01dbd11b8fd22e0ff95a197a753778e04ca (diff) |
Add zfs_send_corrupt_data module option
Tuning setting to ignore read/checksum errors when sending data.
Signed-off-by: Turbo Fredriksson <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Closes #1982
Issue #1897
Diffstat (limited to 'module')
-rw-r--r-- | module/zfs/dmu_send.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/module/zfs/dmu_send.c b/module/zfs/dmu_send.c index 7524c2dcf..9264fbb27 100644 --- a/module/zfs/dmu_send.c +++ b/module/zfs/dmu_send.c @@ -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 |