]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Enable ignore_hole_birth module option by default
authorBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 16 Sep 2016 21:05:30 +0000 (14:05 -0700)
committerGitHub <noreply@github.com>
Fri, 16 Sep 2016 21:05:30 +0000 (14:05 -0700)
Enable ignore_hole_birth by default until all known hole birth bugs
have been resolved and relevant test cases added.

Reviewed-by: Boris Protopopov <boris.protopopov@actifio.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Issue #4809
Closes #5099

man/man5/zfs-module-parameters.5
module/zfs/dmu_traverse.c

index 3c652277b1f44c290e368cead325f7123703778e..ecc69b0a11c2d398fd85939df3032137d3452c73 100755 (executable)
@@ -34,7 +34,7 @@ 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.
+Use \fB1\fR for on (default) and \fB0\fR for off.
 .RE
 
 .sp
index 65f82cbcd1931bb1e55a7add622ad947e266c588..50607352a749346e835f80b1840f7067e2a6c4df 100644 (file)
@@ -39,7 +39,7 @@
 #include <sys/zfeature.h>
 
 int32_t zfs_pd_bytes_max = 50 * 1024 * 1024;   /* 50MB */
-int32_t ignore_hole_birth = 0;
+int32_t ignore_hole_birth = 1;
 
 typedef struct prefetch_data {
        kmutex_t pd_mtx;