Why vfs.timestamp_precision is set to 0 by default?

John Polstra jdp at polstra.com
Mon Jun 18 17:00:23 UTC 2007

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.


More information about the freebsd-current mailing list