HomeFreeBSD

fusefs: correctly handle cacheable negative LOOKUP responses

Description

fusefs: correctly handle cacheable negative LOOKUP responses

The FUSE protocol allows for LOOKUP to return a cacheable negative response,
which means that the file doesn't exist and the kernel can cache its
nonexistence. As of this commit fusefs doesn't cache the nonexistence, but
it does correctly handle such responses. Prior to this commit attempting to
create a file, even with O_CREAT would fail with ENOENT if the daemon
returned a cacheable negative response.

PR: 236231
Sponsored by: The FreeBSD Foundation

Details

Provenance
asomersAuthored on
Parents
rS345398: fusefs: Don't treat fsync the same as fdatasync
Branches
Unknown
Tags
Unknown