summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-01-25 19:56:45 +0000
committerjhb <jhb@FreeBSD.org>2015-01-25 19:56:45 +0000
commit71715e274d4165b5e34b83a6a25c3f769083671f (patch)
tree19e0654d12443ca7b9627922076277449d1ab7f1
parenta19f39141436a7d08e52c63534b5ee2b2740546e (diff)
downloadFreeBSD-src-71715e274d4165b5e34b83a6a25c3f769083671f.zip
FreeBSD-src-71715e274d4165b5e34b83a6a25c3f769083671f.tar.gz
Change the default VFS timestamp precision from seconds to microseconds.
Discussed on: arch@ MFC after: 2 weeks
-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 2920523..912863e 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