Date: Sat, 30 Dec 2023 00:33:10 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 276002] nfscl: data corruption using both copy_file_range and mmap'd I/O Message-ID: <bug-276002-227-LmZ4Nh3dQ1@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-276002-227@https.bugs.freebsd.org/bugzilla/> References: <bug-276002-227@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=3D276002 --- Comment #6 from Rick Macklem <rmacklem@FreeBSD.org> --- Yes. The patch looks good to me and, yes, since this would be a rare occurrence, starting with LK_SHARED on the invp seems like a good idea. It also makes sense to invalidate the outvp's buffers. The change in the NFSv4.2 Change attribute would have triggered that before a read from the now bogus buffers occurred, but why wait for that when you know the buffers are now invalid? --=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-276002-227-LmZ4Nh3dQ1>