[Bug 256205] nullfs: data corruption with SEEK_HOLE/SEEK_DATA on dirty files

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 02 Jun 2021 15:26:42 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256205

Alan Somers <asomers_at_FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib-bugs_at_FreeBSD.org

--- Comment #23 from Alan Somers <asomers_at_FreeBSD.org> ---
kib (CCed) believes that 42881526d401e7a9c09241e392b7ffa18cfe11d6 is not a full
solution, because it only flushes pages on close.  The OP's test case does
close every file, but the bug may persist if the files were to remain open when
somebody calls lseek(.., SEEK_HOLE).  kib thinks that a better solution would
be for ZFS's SEEK_HOLE implementation to check the page queue, but we don't
have a working patch yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.
Received on Wed Jun 02 2021 - 15:26:42 UTC

Original text of this message