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

            Bug ID: 236560
           Summary: [FUSE] fuse(4) ignores FOPEN_KEEP_CACHE
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: [email protected]
          Reporter: [email protected]

If a fuse filesystem sets FOPEN_KEEP_CACHE in the response to FUSE_OPEN, then
the kernel should not flush its read caches on subsequent open(2)s of the same
file.  Our fuse(4) driver does indeed check for that flag in fuse_vnode_open. 
However, the check doesn't work, because the flag isn't saved from the previous
FUSE_OPEN.  The flag is guaranteed to be unset in that code path.  The solution
would be to save the open_flags in the vnode.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to