[Bug 275308] EN tracking issue for potential ZFS data corruption

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 30 Nov 2023 18:59:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275308

--- Comment #28 from Ed Maste <emaste@freebsd.org> ---
(In reply to mike from comment #27)
The workaround actually improves performance (at the cost of possibly incorrect
hole reporting).

Once the update is applied though I believe there's no benefit (from a risk
mitigation perspective) in keeping the workaround. I've added a sentence to the
end of the workaround section in the draft EN:

IV.  Workaround

Setting the vfs.zfs.dmu_offset_next_sync sysctl to 0 disables forcing
TXG sync to find holes.  This is an effective workaround that greatly
reduces the likelihood of encountering data corruption, although it does
not completely eliminate it.  Note that with the workaround holes will
not be reported in recently dirtied files.  See the zfs(4) man page for
more information of the impact of this sysctl setting.

The workaround should be removed once the system is updated to include the
fix described in this notice.

-- 
You are receiving this mail because:
You are the assignee for the bug.