freebsd-nq/sys/fs/tmpfs
Konstantin Belousov 00ac6a98d8 Add mount option for tmpfs(5) to not use namecache.
The option "nonc" disables using of namecache for the created mount,
by default namecache is used.  The rationale for the option is that
namecache duplicates the information which is already kept in memory
by tmpfs.  Since it believed that namecache scales better than tmpfs,
or will scale better, do not enable the option by default.  On the
other hand, smaller machines may benefit from lesser namecache
pressure.

Discussed with:	mjg
Tested by:	pho (as part of larger patch)
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
2017-01-19 19:46:49 +00:00
..
tmpfs_fifoops.c Lock tmpfs node tn_status updates done under the shared vnode lock. 2017-01-06 17:43:36 +00:00
tmpfs_fifoops.h Remove code separator lines which do not conform to style(9). 2014-07-14 08:17:11 +00:00
tmpfs_subr.c Add mount option for tmpfs(5) to not use namecache. 2017-01-19 19:46:49 +00:00
tmpfs_vfsops.c Add mount option for tmpfs(5) to not use namecache. 2017-01-19 19:46:49 +00:00
tmpfs_vnops.c Add mount option for tmpfs(5) to not use namecache. 2017-01-19 19:46:49 +00:00
tmpfs_vnops.h Add mount option for tmpfs(5) to not use namecache. 2017-01-19 19:46:49 +00:00
tmpfs.h Add mount option for tmpfs(5) to not use namecache. 2017-01-19 19:46:49 +00:00