freebsd-skq/sys/fs/devfs
Konstantin Belousov bda2eb9ae8 Refine r280308. Do not completely disable timestamping of devfs nodes
on reads or writes, the time marks are used to display idle time by
w(1) [1].  Instead, use vfs.devfs.dotimes as the selector of default
precision vs. using time_second.  The later gives seconds precision,
which is good enough for the purpose.

Note that timestamp updates are unlocked and the updates itself, as
well as the check in devfs_timestamp, are non-atomic.

Noted by:	truckman [1]
Reviewed by:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2015-04-01 08:25:40 +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
devfs_vfsops.c
devfs_vnops.c Refine r280308. Do not completely disable timestamping of devfs nodes 2015-04-01 08:25:40 +00:00
devfs.h