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: b...@freebsd.org
          Reporter: asom...@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to