6c21f6edb8
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 |
||
---|---|---|
.. | ||
ext2_alloc.c | ||
ext2_balloc.c | ||
ext2_bmap.c | ||
ext2_dinode.h | ||
ext2_dir.h | ||
ext2_extents.c | ||
ext2_extents.h | ||
ext2_extern.h | ||
ext2_hash.c | ||
ext2_htree.c | ||
ext2_inode_cnv.c | ||
ext2_inode.c | ||
ext2_lookup.c | ||
ext2_mount.h | ||
ext2_subr.c | ||
ext2_vfsops.c | ||
ext2_vnops.c | ||
ext2fs.h | ||
fs.h | ||
htree.h | ||
inode.h |