Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Jun 1998 03:49:20 -0700 (PDT)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/ufs/ufs ufs_vnops.c
Message-ID:  <199806071049.DAA20399@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         1998/06/07 03:49:19 PDT

  Modified files:
    sys/ufs/ufs          ufs_vnops.c 
  Log:
  Fixed some longstanding timestamp bugs:
  1. mark atimes and mtimes of special files and fifos for update upon
     successful completion of non-null i/o, not at the beginning of the
     syscall.
  2. never update file times for readonly filesystems.  They were updated
     for stats and closes but not for syncs.  The updates were of course
     only in-core and were thrown away when the inode was uncached, so
     the times sometimes appeared to go backwards.
  
  Improved comments in code related to (1) (mostly by removing them).
  
  Unmacroized ITIMES().  The test in (2) bloated it even more.  Don't
  call getmicrotime() in the function version of it when we only need
  the time in seconds.
  
  Revision  Changes    Path
  1.86      +70 -57    src/sys/ufs/ufs/ufs_vnops.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



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