Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Jun 2007 09:44:36 -0700
From:      John Polstra <jdp@polstra.com>
To:        Xin LI <delphij@delphij.net>
Cc:        freebsd-fs@FreeBSD.org, freebsd-current@FreeBSD.org
Subject:   Re: Why vfs.timestamp_precision is set to 0 by default?
Message-ID:  <4676B674.4030104@polstra.com>
In-Reply-To: <46769B76.60502@delphij.net>
References:  <46769B76.60502@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Xin LI wrote:

> Recently while I'm looking into the VFS code I found that we set
> vfs.timestamp_precision to 0 by default.  Is there any reason not to set
> this to, for instance 1 by default?  My rough test indicates that the
> performance affect is almost negligible...

If I remember correctly, I set the default to 0 for compatibility -- 
i.e., so that the fractional seconds would continue to be set to 0 as 
before.  That was probably too conservative.

John



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