Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Dec 2021 07:40:21 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 260453] ZFS truncated write to O_APPEND file from mmap'ed memory
Message-ID:  <bug-260453-3630-7cv3mzA87p@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-260453-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-260453-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260453

--- Comment #3 from Andriy Gapon <avg@FreeBSD.org> ---
Note that in the "old" FreeBSD ZFS (e.g., in stable/12) there wasn't a break
after an error from dmu_write_uio_dbuf() and there was some FreeBSD specific
code to handle / tolerate EFAULT.

In the new OpenZFS that logic is gone.
There is some Linux specific code for EFAULT, but for FreeBSD there seems t=
o be
nothing.

FWIW, I think that tools/regression/fsx should / could have caught this kin=
d of
an issue.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260453-3630-7cv3mzA87p>