HomeFreeBSD

Default to zfs_dmu_offset_next_sync=1

Description

Default to zfs_dmu_offset_next_sync=1

Strict hole reporting was previously disabled by default as a
performance optimization. However, this has lead to confusion
over the expected behavior and a variety of workarounds being
adopted by consumers of ZFS. Change the default behavior to
always report holes and force the TXG sync.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #12746

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Nov 30 2021, 6:38 PM
GitHub <noreply@github.com>Committed on Nov 30 2021, 6:38 PM
Parents
rG5dc6fc2b73bf: Stop segfaulting on unmount error case
Branches
Unknown
Tags
Unknown