mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-17 10:01:01 +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:
parent
4788a01dbd
commit
fd8febbd1e
@ -873,6 +873,17 @@ Number of ticks to delay scrub
|
||||
Default value: \fB4\fR.
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
\fBzfs_send_corrupt_data\fR (int)
|
||||
.ad
|
||||
.RS 12n
|
||||
Allow to send corrupt data (ignore read/checksum errors when sending data)
|
||||
.sp
|
||||
Use \fB1\fR for yes and \fB0\fR for no (default).
|
||||
.RE
|
||||
|
||||
.sp
|
||||
.ne 2
|
||||
.na
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user