freebsd-skq/sys/fs/devfs
Xin LI 4f9343fc7c Disable timestamping on devfs read/write operations by default.
Currently we update timestamps unconditionally when doing read or
write operations.  This may slow things down on hardware where
reading timestamps is expensive (e.g. HPET, because of the default
vfs.timestamp_precision setting is nanosecond now) with limited
benefit.

A new sysctl variable, vfs.devfs.dotimes is added, which can be
set to non-zero value when the old behavior is desirable.

Differential Revision:	https://reviews.freebsd.org/D2104
Reported by:	Mike Tancsa <mike sentex net>
Reviewed by:	kib
Relnotes:	yes
Sponsored by:	iXsystems, Inc.
MFC after:	2 weeks
2015-03-21 01:14:11 +00:00
..
devfs_devs.c Disable timestamping on devfs read/write operations by default. 2015-03-21 01:14:11 +00:00
devfs_dir.c
devfs_int.h Stop enforcing additional reference on all cdevs, which was introduced 2015-01-19 17:36:52 +00:00
devfs_rule.c make path matching in devfs rules consistent and sane (and safer) 2013-07-26 14:25:58 +00:00
devfs_vfsops.c Complete MPSAFE VFS interface and remove MNTK_MPSAFE flag. 2012-11-09 18:02:25 +00:00
devfs_vnops.c Disable timestamping on devfs read/write operations by default. 2015-03-21 01:14:11 +00:00
devfs.h Introduce the "ruleset=number" option for devfs(5) mounts. 2012-02-09 10:09:12 +00:00