Add tunable to ignore hole_birth

Adds a module option which disables the hole_birth optimization
which has been responsible for several recent bugs, including
issue #4050.

Original-patch: https://gist.github.com/pcd1193182/2c0cd47211f3aee623958b4698836c48
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4833
This commit is contained in:
Rich Ercolani
2016-07-08 16:51:50 -04:00
committed by Brian Behlendorf
parent e35c5a8265
commit 6d836e6f8b
2 changed files with 18 additions and 1 deletions
+13
View File
@@ -24,6 +24,19 @@ Description of the different parameters to the ZFS module.
.sp
.LP
.sp
.ne 2
.na
\fBignore_hole_birth\fR (int)
.ad
.RS 12n
When set, the hole_birth optimization will not be used, and all holes will
always be sent on zfs send. Useful if you suspect your datasets are affected
by a bug in hole_birth.
.sp
Use \fB1\fR for on and \fB0\fR (default) for off.
.RE
.sp
.ne 2
.na