bc25b30608
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. |
||
---|---|---|
.. | ||
ffs_alloc.c | ||
ffs_appleufs.c | ||
ffs_balloc.c | ||
ffs_bswap.c | ||
ffs_extern.h | ||
ffs_inode.c | ||
ffs_snapshot.c | ||
ffs_snapshot.stub.c | ||
ffs_softdep.c | ||
ffs_softdep.stub.c | ||
ffs_subr.c | ||
ffs_tables.c | ||
ffs_vfsops.c | ||
ffs_vnops.c | ||
fs.h | ||
Makefile | ||
softdep.h |