freebsd-dev/sys/fs/fuse
Konstantin Belousov 6c21f6edb8 The VOP_LOOKUP() implementations for CREATE op do not put the name
into namecache, to avoid cache trashing when doing large operations.
E.g., tar archive extraction is not usually followed by access to many
of the files created.

Right now, each VOP_LOOKUP() implementation explicitely knowns about
this quirk and tests for both MAKEENTRY flag presence and op != CREATE
to make the call to cache_enter().  Centralize the handling of the
quirk into VFS, by deciding to cache only by MAKEENTRY flag in VOP.
VFS now sets NOCACHE flag for CREATE namei() calls.

Note that the change in semantic is backward-compatible and could be
merged to the stable branch, and is compatible with non-changed
third-party filesystems which correctly handle MAKEENTRY.

Suggested by:	Chris Torek <torek@pi-coral.com>
Reviewed by:	mckusick
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2014-12-18 10:01:12 +00:00
..
fuse_debug.h
fuse_device.c Remove unneeded D_NEEDMINOR. 2012-10-18 19:28:31 +00:00
fuse_file.c - Current caching mode is completely broken because it simply relies 2012-11-08 00:32:49 +00:00
fuse_file.h
fuse_internal.c - Current caching mode is completely broken because it simply relies 2012-11-08 00:32:49 +00:00
fuse_internal.h fuse: revert birthtime support. 2013-07-20 14:50:35 +00:00
fuse_io.c Switch the vm_object mutex to be a rwlock. This will enable in the 2013-03-09 02:32:23 +00:00
fuse_io.h
fuse_ipc.c
fuse_ipc.h
fuse_kernel.h fuse: revert kernel_header update. 2013-07-24 20:21:29 +00:00
fuse_main.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
fuse_node.c - Current caching mode is completely broken because it simply relies 2012-11-08 00:32:49 +00:00
fuse_node.h - Current caching mode is completely broken because it simply relies 2012-11-08 00:32:49 +00:00
fuse_param.h
fuse_vfsops.c Fix multiple incorrect SYSCTL arguments in the kernel: 2014-10-21 07:31:21 +00:00
fuse_vnops.c The VOP_LOOKUP() implementations for CREATE op do not put the name 2014-12-18 10:01:12 +00:00
fuse.h