The blocks zeroed by xfs_repair were offset by 1 in the internal log case,
this would cause problems if a filesystem was repaired, then mounted, then
mounted again after some activity. The second mount would fail panicing the
system, provided the log had not been completely written over during the first
mount.
Date: Fri Sep 8 11:42:11 PDT 2000
Workarea: jen.americas.sgi.com:/src/lord/xfs-clean
The following file(s) were checked into:
bonnie.engr.sgi.com:/isms/slinx/2.4.0-test1-xfs
Modid: 2.4.0-test1-xfs:slinx:74012a
cmd/xfs/repair/phase2.c - 1.30
- Fix log zeroing in repair - it was starting out one block too early
for
an internal log. This could do two things, zero out part of a valid
filesystem block, and make recovery fail on the second mount after
repair was run in some cases.
|