[Bug 236231] [FUSE] Can't create new files if filesystem uses negative cache entries

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 4 21:34:15 UTC 2019


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

            Bug ID: 236231
           Summary: [FUSE] Can't create new files if filesystem uses
                    negative cache entries
           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

FUSE protocol 7.4 added the ability to cache negative lookups (see PR 236226). 
FreeBSD's fuse(4) doesn't currently do this, but it still needs to correctly
interpret a cacheable negative response as ENOENT.  Currently, we do that
correctly when nameiop == LOOKUP.  However, when nameiop == CREATE or RENAME we
fail.  In that case, we return ENOENT when we should return EJUSTRETURN.

The symptom is that trying to create a new file will fail with ENOENT.

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


More information about the freebsd-bugs mailing list