[Bug 236473] [FUSE] fsync never syncs metadata on fuse(4)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Mar 11 19:52:18 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236473
Bug ID: 236473
Summary: [FUSE] fsync never syncs metadata on fuse(4)
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: kern
Assignee: bugs at FreeBSD.org
Reporter: asomers at FreeBSD.org
The FUSE_FSYNC operations has a flags parameter. If bit 0 is set, then the
filesystem should do an "fdatasync" instead of "fsync". Oddly, FreeBSD's
fuse(4) driver _always_ sets that bit. I suspect that the original GSoC
student didn't understand what it meant. The consequence is that an fsync(2)
will not safely sync a file's metadata to disk, if that file is on fuse.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list