Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: syssrc
Module Name: syssrc
Committed By: perseant
Date: Sat Mar 11 05:00:20 UTC 2000
Modified Files:
syssrc/sys/kern: vfs_subr.c
syssrc/sys/ufs/ffs: ffs_vnops.c
Log Message:
Move vinvalbuf's check for dirty blocks into ffs_fsync, to ensure that
mode and ownership bits are flushed to disk before the vnode is
reclaimed.
The check, introduced in the softdep merge, assumes that if no blocks
are dirty, no file data *or metadata* needs to be flushed to disk. This
is true of ffs, but is not true of lfs, and may not be true of other
filesystems.
Tested by myself and Bill Squier <groo%cs.stevens-tech.edu@localhost>.
To generate a diff of this commit:
cvs rdiff -r1.118 -r1.119 syssrc/sys/kern/vfs_subr.c
cvs rdiff -r1.20 -r1.21 syssrc/sys/ufs/ffs/ffs_vnops.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