Date: Thu, 13 Apr 2023 14:25:30 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270810] munmap does not always sync the underlying file Message-ID: <bug-270810-227-2E2JPCv61i@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-270810-227@https.bugs.freebsd.org/bugzilla/> References: <bug-270810-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=3D270810 --- Comment #3 from Konstantin Belousov <kib@FreeBSD.org> --- NFS is not POSIX compliant, for many reasons besides mmap. It is inherent = in the protocol. This is not going to change. FWIW, try to think how could reliable write-back from client to server on m= map could be implemented? System has the cache on client, and the data on serv= er. You need to implement coherency for async userspace writes to the cached pa= ges which are invisible to OS until it actively queries for dirty page status. The only known reliable way is to make each write fault to detect it. Then= you will complain about performance being 100x times worse than now. --=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-270810-227-2E2JPCv61i>