[Bug 270810] munmap does not always sync the underlying file
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 270810] munmap does not always sync the underlying file"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Apr 2023 23:20:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270810 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. -- You are receiving this mail because: You are the assignee for the bug.