Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Mar 2019 21:34:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 236231] [FUSE] Can't create new files if filesystem uses negative cache entries
Message-ID:  <bug-236231-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236231-227>