/[base]
ViewVC logotype

Revision 345399


Jump to revision: Previous Next
Author: asomers
Date: Thu Mar 21 23:31:10 2019 UTC (5 years, 3 months ago)
Changed paths: 4
Log Message:
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


Changed paths

Path Details
Directoryprojects/fuse2/sys/fs/fuse/fuse_vnops.c modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/create.cc modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/mkdir.cc modified , text changed
Directoryprojects/fuse2/tests/sys/fs/fusefs/rename.cc modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27