diff options
author | Brian Behlendorf <[email protected]> | 2016-09-16 14:05:30 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2016-09-16 14:05:30 -0700 |
commit | 9ea9e0b9a1f15b1e3b6b89bbc29d2a68df87ab3c (patch) | |
tree | b4cb287f2bb23eb61fcb47e1f073e2b014eb9ff2 | |
parent | f448f8cddd710686e9e17e3e53ac3917f2546e5d (diff) |
Enable ignore_hole_birth module option by default
Enable ignore_hole_birth by default until all known hole birth bugs
have been resolved and relevant test cases added.
Reviewed-by: Boris Protopopov <[email protected]>
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #4809
Closes #5099
-rwxr-xr-x | man/man5/zfs-module-parameters.5 | 2 | ||||
-rw-r--r-- | module/zfs/dmu_traverse.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/man/man5/zfs-module-parameters.5 b/man/man5/zfs-module-parameters.5 index 3c652277b..ecc69b0a1 100755 --- a/man/man5/zfs-module-parameters.5 +++ b/man/man5/zfs-module-parameters.5 @@ -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 diff --git a/module/zfs/dmu_traverse.c b/module/zfs/dmu_traverse.c index 65f82cbcd..50607352a 100644 --- a/module/zfs/dmu_traverse.c +++ b/module/zfs/dmu_traverse.c @@ -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; |