Date: Mon, 17 Apr 2023 23:20:41 +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-WFPCmKtByf@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 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended Status|New |Closed --- Comment #7 from Konstantin Belousov <kib@FreeBSD.org> --- msync(MS_SYNC) ensures that the pages are synced with the _local_ buffer cache. When the buffers are flushed to remote server, is up to syncer and buffer daemon. For NFS, same as a local filesystems, msync() is not needed to ensure that mmaped writes are constistent with local io. Remote state is out of this guarantee. --=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-WFPCmKtByf>