Date: Fri, 3 Jul 1998 15:17:06 -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/gnu/ext2fs ext2_inode.c src/sys/ufs/ffs ffs_inode.c src/sys/ufs/ufs inode.h ufs_inode.c ufs_vnops.c Message-ID: <199807032217.PAA05374@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/07/03 15:17:05 PDT
Modified files:
sys/gnu/ext2fs ext2_inode.c
sys/ufs/ffs ffs_inode.c
sys/ufs/ufs inode.h ufs_inode.c ufs_vnops.c
Log:
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.
PR: 5577
Previous version reviewed by: phk
Revision Changes Path
1.17 +7 -7 src/sys/gnu/ext2fs/ext2_inode.c
1.45 +8 -8 src/sys/ufs/ffs/ffs_inode.c
1.23 +2 -1 src/sys/ufs/ufs/inode.h
1.23 +8 -2 src/sys/ufs/ufs/ufs_inode.c
1.92 +8 -2 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?199807032217.PAA05374>
