OpenGrok
Cross Reference: run_ckckp
xref
: /
src
/
regress
/
sys
/
fs
/
lfs
/
ckckp
/
run_ckckp
Home
|
History
|
Annotate
|
Download
|
only in
ckckp
History log of
/src/regress/sys/fs/lfs/ckckp/run_ckckp
Revision
Date
Author
Comments
1.4
21-Jul-2006
perseant
Include testing of the roll-forward agent, when recreating the filesystem
partial-segment by partial-segment. Each checkpoint should pass fsck_lfs -n
without errors; the results of fsck_lfs -p on non-checkpoints should also
pass fsck_lfs -n without errors.
1.3
05-May-2006
perseant
Allow the user to specify a file size in the ckckp regression test, including
the value zero (filling the filesystem with directories and empty file
inodes).
1.2
22-Apr-2006
perseant
Regression test improvements:
Move the stop for LFCNWRAPSTOP to the point at which writing at segment 0
is really about to commence, since this is what the test expects (and
incidentally what a snapshotting utility wants as well).
More correctly reconstruct the on-disk state at every checkpoint, rather
than relying on the entire state at the point of wrapping to be accurate
(that is only true the first time we wrap). Add a "make abort" target to
make rerunning the test more convenient when it has failed and we're done
analyzing the failure.
1.1
17-Apr-2006
perseant
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.
Indexes created Wed Oct 29 20:09:47 GMT 2025