summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-03-10 14:18:26 +0000
committerjhb <jhb@FreeBSD.org>2015-03-10 14:18:26 +0000
commitab5266471122f495a3c6b29718c2978b46d2e441 (patch)
tree11b0ff86f7a949f79b28e9b423b1a3ffc9cdd471
parent024c8e7e83a469426818d9637de16340a8c21d50 (diff)
downloadFreeBSD-src-ab5266471122f495a3c6b29718c2978b46d2e441.zip
FreeBSD-src-ab5266471122f495a3c6b29718c2978b46d2e441.tar.gz
MFC 277712:
Change the default VFS timestamp precision from seconds to microseconds.
-rw-r--r--sys/kern/vfs_subr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 8fb7734..666564e 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -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,
&timestamp_precision, 0, "File timestamp precision (0: seconds, "
"1: sec + ns accurate to 1/HZ, 2: sec + ns truncated to ms, "
OpenPOWER on IntegriCloud