[Bug 276002] nfscl: data corruption using both copy_file_range and mmap'd I/O

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 01 Jan 2024 15:48:32 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276002

--- Comment #32 from Rick Macklem <rmacklem@FreeBSD.org> ---
Righto. To be honest, this may not be fixable,
given the way NFS does I/O below the buffer
cache (no vnode lock, etc).

The fix may be to document the need to use
msync(2) when mmap'd I/O is mixed with syscall
I/O for NFS mounts.
--> An update to the msync man page maybe?

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