svn commit: r279848 - in stable: 10/sys/kern 9/sys/kern
John Baldwin
jhb at FreeBSD.org
Tue Mar 10 14:18:28 UTC 2015
Author: jhb
Date: Tue Mar 10 14:18:26 2015
New Revision: 279848
URL: https://svnweb.freebsd.org/changeset/base/279848
Log:
MFC 277712:
Change the default VFS timestamp precision from seconds to microseconds.
Modified:
stable/9/sys/kern/vfs_subr.c
Directory Properties:
stable/9/sys/ (props changed)
Changes in other areas also in this revision:
Modified:
stable/10/sys/kern/vfs_subr.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/9/sys/kern/vfs_subr.c
==============================================================================
--- stable/9/sys/kern/vfs_subr.c Tue Mar 10 13:06:54 2015 (r279847)
+++ stable/9/sys/kern/vfs_subr.c Tue Mar 10 14:18:26 2015 (r279848)
@@ -614,7 +614,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-stable-9
mailing list