Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jan 2015 19:56:46 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r277712 - head/sys/kern
Message-ID:  <201501251956.t0PJukk6051530@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,
     &timestamp_precision, 0, "File timestamp precision (0: seconds, "
     "1: sec + ns accurate to 1/HZ, 2: sec + ns truncated to ms, "



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501251956.t0PJukk6051530>