]> git.proxmox.com Git - mirror_zfs.git/commit
Default to zfs_dmu_offset_next_sync=1
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 30 Nov 2021 18:38:09 +0000 (10:38 -0800)
committerGitHub <noreply@github.com>
Tue, 30 Nov 2021 18:38:09 +0000 (10:38 -0800)
commit05b3eb6d232009db247882a39d518e7282630753
tree45618ab04bf1fb5c082f46476289e433462ab713
parent5dc6fc2b73bffd9876374260e7840cc1177bf726
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
man/man4/zfs.4
module/zfs/dmu.c