CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2014/03/18 22:17:33
Modified files:
sys/ufs/ffs : ffs_inode.c
sys/ufs/ufs : inode.h ufs_inode.c ufs_vnops.c
usr.sbin/pstat : pstat.8 pstat.c
Log message:
Pull in FreeBSD r37363 and r37887:
--
Sync timestamp changes for inodes of special files to disk as late
as possible (when the inode is reclaimed). Temporarily only do
this if option UFS_LAZYMOD configured and softupdates aren't enabled.
UFS_LAZYMOD is intentionally left out of /sys/conf/options.
This is mainly to avoid almost useless disk i/o on battery powered
machines. It's silly to write to disk (on the next sync or when the
inode becomes inactive) just because someone hit a key or something
wrote to the screen or /dev/null.
--
Made lazy syncing of timestamps for special files non-optional.
--
Also, include support in 'pstat -v' to display the IN_LAZYMOD flag.
ok tedu@ millert@