svn commit: r277712 - head/sys/kern
John Baldwin
jhb at FreeBSD.org
Sun Jan 25 19:56:46 UTC 2015
Author: jhb
Date: Sun Jan 25 19:56:45 2015
New Revision: 277712
URL: https://svnweb.freebsd.org/changeset/base/277712
Log:
Change the default VFS timestamp precision from seconds to microseconds.
Discussed on: arch@
MFC after: 2 weeks
Modified:
head/sys/kern/vfs_subr.c
Modified: head/sys/kern/vfs_subr.c
==============================================================================
--- head/sys/kern/vfs_subr.c Sun Jan 25 19:56:43 2015 (r277711)
+++ head/sys/kern/vfs_subr.c Sun Jan 25 19:56:45 2015 (r277712)
@@ -632,7 +632,7 @@ vfs_getnewfsid(struct mount *mp)
*/
enum { TSP_SEC, TSP_HZ, TSP_USEC, TSP_NSEC };
-static int timestamp_precision = TSP_SEC;
+static int timestamp_precision = TSP_USEC;
SYSCTL_INT(_vfs, OID_AUTO, timestamp_precision, CTLFLAG_RW,
×tamp_precision, 0, "File timestamp precision (0: seconds, "
"1: sec + ns accurate to 1/HZ, 2: sec + ns truncated to ms, "
More information about the svn-src-all
mailing list