git: kernel - change vfs.timestamp_precision default when hz < 100

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jun 24 14:51:20 PDT 2021


commit fba6eb5366bd0860ab6efea3a5c026867679e6b8
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jun 24 14:48:55 2021 -0700

    kernel - change vfs.timestamp_precision default when hz < 100
    
    * Change the default for vfs.timestamp_precision to a more precise
      time calculation when hz is less than 100.  When hz is very low,
      the default tick-resolution filesystem timestamps become too
      granular and can often lead to make/Makefile issues.
    
      Thus, if hz is less than 100, we change the default from mode
      2 (uSec at ticks precision) to mode 4 (uSec at maximum precision).

Summary of changes:
 sys/kern/vfs_subr.c | 34 ++++++++++++++++++++++++++++------
 1 file changed, 28 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/fba6eb5366bd0860ab6efea3a5c026867679e6b8


-- 
DragonFly BSD source repository


More information about the Commits mailing list