Skip to content

repair: fix AGFL rebuild problem

Dave Chinner linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2repair: fix XR_BLD_FREE_TRACE compilation errorsrepair/phase5.c+6 -112 replies
2/2repair: AGFL rebuild fails if btree split requiredrepair/phase5.c+35 -93 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchEric SandeenBrian Foster
1/2R-b R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] repair: fix AGFL rebuild problem

Hi folks,

The following two patches fix a repair rebuild issue that was reported to me. xfs_repair would appear to succeed, but subsequent runs would report a freespace mismatch and then on mount trigger a corruption error on the first allocation from AG 0.

The problem as that the AGFL was not being correctly rebuilt due to a very particular freespace pattern in AG 0 which required free blocks in the AGFL to populate an empty AGFL. reapir silently ignored this error, so it triggered allocation corruption errors when the same AGFL fixup attempt failed on a mounted filesystem.

The fix is relatively straight forward, as is the fixes to the tracing code that I had to make before i could track down the issue.

-Dave.

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs