diff options
author | jhb <jhb@FreeBSD.org> | 2015-01-25 19:56:45 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-01-25 19:56:45 +0000 |
commit | 71715e274d4165b5e34b83a6a25c3f769083671f (patch) | |
tree | 19e0654d12443ca7b9627922076277449d1ab7f1 | |
parent | a19f39141436a7d08e52c63534b5ee2b2740546e (diff) | |
download | FreeBSD-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.c | 2 |
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, ×tamp_precision, 0, "File timestamp precision (0: seconds, " "1: sec + ns accurate to 1/HZ, 2: sec + ns truncated to ms, " |