[Bug 238312] [FUSEFS] writeback mode actually writes through

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jun 3 17:22:41 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238312

            Bug ID: 238312
           Summary: [FUSEFS] writeback mode actually writes through
           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

fusefs has three sysctl-selectable cache modes: uncached, writethrough, and
writeback.  Writeback mode is supposed to be the highest performance.  It's
supposed to cache dirty data in the kernel and flush it occasionally, like UFS
does.  However, it's never actually worked that way.  Instead, it writes
through immediately.  Fixing this would probably be as simple as replacing the
bwrite calls in fuse_write_biobackend with bdwrite.  But doing it correctly
will require a little bit more work.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list