[Bug 260453] ZFS truncated write to O_APPEND file from mmap'ed memory

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 16 Dec 2021 04:44:52 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260453

Rich Ercolani <Rincebrain@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Rincebrain@gmail.com

--- Comment #2 from Rich Ercolani <Rincebrain@gmail.com> ---
This reminds me of the bug
https://github.com/openzfs/zfs/commit/c23803be84cb5cc9d98186221f4106a9962dfc45
and its predecessor commit
https://github.com/openzfs/zfs/commit/de198f2d9507b6dcf3d0d8f037ba33940208733e
were intended to fix.

Obviously, this isn't SEEK_DATA/SEEK_HOLE, and in that case, you wound up with
correctly sized files with zeroes for the last $WHATEVER. But I still thought
I'd mention it in case the logic changes there might help.

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