xfs
[Top] [All Lists]

TAKE - fix log zeroing off by one error in repair

To: unlisted-recipients:; (no To-header on input)
Subject: TAKE - fix log zeroing off by one error in repair
From: Steve Lord <lord@xxxxxxx>
Date: Fri, 8 Sep 2000 13:44:14 -0500
Sender: owner-linux-xfs@xxxxxxxxxxx
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.



<Prev in Thread] Current Thread [Next in Thread>
  • TAKE - fix log zeroing off by one error in repair, Steve Lord <=