Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2019 19:52:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236473] [FUSE] fsync never syncs metadata on fuse(4)
Message-ID:  <bug-236473-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236473

            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@FreeBSD.org
          Reporter: asomers@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.

--=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-236473-227>