Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Mar 2015 14:18:27 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org
Subject:   svn commit: r279848 - in stable: 10/sys/kern 9/sys/kern
Message-ID:  <201503101418.t2AEIRfT045704@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,
     &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?201503101418.t2AEIRfT045704>