NetBSD/sys/ufs/ffs
mycroft bc25b30608 Add a new flag, IN_MODIFY. This is like IN_UPDATE|IN_CHANGE, but unlike
setting those flags, it does not cause the inode to be written in the periodic
sync.  This is used for writes to special files (devices and named pipes) and
FIFOs.

Do not preemptively sync updates to access times and modification times.  They
are now updated in the inode only opportunistically, or when the file or device
is closed.  (Really, it should be delayed beyond close, but this is enough to
help substantially with device nodes.)

And the most amusing part:
Trickle sync was broken on both FFS and ext2fs, in different ways.  In FFS, the
periodic call to VFS_SYNC(MNT_LAZY) was still causing all file data to be
synced.  In ext2fs, it was causing the metadata to *not* be synced.  We now
only call VOP_UPDATE() on the node if we're doing MNT_LAZY.  I've confirmed
that we do in fact trickle correctly now.
2004-08-14 01:08:02 +00:00
..
ffs_alloc.c Don't use VTOI(vp)->i_flags to test for snapshot devices. Will not work 2004-05-26 20:33:10 +00:00
ffs_appleufs.c
ffs_balloc.c Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
ffs_bswap.c Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
ffs_extern.h Need to forward-declare "struct timespec" because the new ffs_snapshot() 2004-06-04 07:43:56 +00:00
ffs_inode.c Add a new flag, IN_MODIFY. This is like IN_UPDATE|IN_CHANGE, but unlike 2004-08-14 01:08:02 +00:00
ffs_snapshot.c When we expunge an unreferenced file from a snapshot its size may be zero. 2004-06-30 18:42:17 +00:00
ffs_snapshot.stub.c Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
ffs_softdep.c Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
ffs_softdep.stub.c
ffs_subr.c
ffs_tables.c
ffs_vfsops.c Add a new flag, IN_MODIFY. This is like IN_UPDATE|IN_CHANGE, but unlike 2004-08-14 01:08:02 +00:00
ffs_vnops.c
fs.h Add ffs internal snapshots. Written by Marshall Kirk McKusick for FreeBSD. 2004-05-25 14:54:55 +00:00
Makefile
softdep.h