Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   yamt
Date:           Fri Jun 23 14:13:03 UTC 2006

Modified Files:
        src/sys/kern: vfs_subr.c
        src/sys/sys: vnode.h
        src/sys/ufs/ext2fs: ext2fs_subr.c
        src/sys/ufs/ffs: ffs_alloc.c ffs_inode.c
        src/sys/ufs/lfs: lfs_itimes.c lfs_segment.c
        src/sys/ufs/ufs: ufs_lookup.c

Log Message:
fix a simonb-timecounters regression.
the precision of getnanotime() is not suitable for file timestamps.
esp. when it's nfs-exported.

- introduce vfs_timestamp().
  (the name is from freebsd.  currently merely a wrapper of nanotime())
- for ufs-like filesystems, use it rather than getnanotime().

XXX check other filesystems.


To generate a diff of this commit:
cvs rdiff -r1.266 -r1.267 src/sys/kern/vfs_subr.c
cvs rdiff -r1.154 -r1.155 src/sys/sys/vnode.h
cvs rdiff -r1.23 -r1.24 src/sys/ufs/ext2fs/ext2fs_subr.c
cvs rdiff -r1.92 -r1.93 src/sys/ufs/ffs/ffs_alloc.c
cvs rdiff -r1.82 -r1.83 src/sys/ufs/ffs/ffs_inode.c
cvs rdiff -r1.9 -r1.10 src/sys/ufs/lfs/lfs_itimes.c
cvs rdiff -r1.182 -r1.183 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.77 -r1.78 src/sys/ufs/ufs/ufs_lookup.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index