Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-3] src/sys/ufs/lfs
Module Name: src
Committed By: riz
Date: Sat May 20 22:24:27 UTC 2006
Modified Files:
src/sys/ufs/lfs [netbsd-3]: lfs.h lfs_segment.c lfs_vnops.c
Log Message:
Pull up following revision(s) (requested by perseant in ticket #1327):
sys/ufs/lfs/lfs.h: revision 1.103
sys/ufs/lfs/lfs_segment.c: revision 1.174
sys/ufs/lfs/lfs_vnops.c: revision 1.168
Introduce two fcntl calls that freeze the filesystem right at the point
where segment 0 is being considered for writing. This allows for automated
checkpoint vailidity scanning, and could be used (in conjunction with the
existing LFCNREWIND) for e.g. snapshot dumps as well.
Include a regression test that does such scanning.
When writing the Ifile, loop through the dirty block list three times to
make sure that the checkpoint is always consistent (the first and second
times the Ifile blocks can cross a segment boundary; not so the third time
unless the segments are very small). Discovered by using the aforementioned
regression test.
To generate a diff of this commit:
cvs rdiff -r1.77.2.13 -r1.77.2.14 src/sys/ufs/lfs/lfs.h
cvs rdiff -r1.158.2.7 -r1.158.2.8 src/sys/ufs/lfs/lfs_segment.c
cvs rdiff -r1.137.2.16 -r1.137.2.17 src/sys/ufs/lfs/lfs_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