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/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270810 --- 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 mmap could be implemented? System has the cache on client, and the data on server. You need to implement coherency for async userspace writes to the cached pages 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. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270810-227-2E2JPCv61i>
