repair: fix AGFL rebuild problem
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | repair: fix XR_BLD_FREE_TRACE compilation errorsrepair/ | +6 | 2 replies | |
| 2/2 | repair: AGFL rebuild fails if btree split requiredrepair/ | +35 | 3 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Eric Sandeen | Brian Foster |
|---|---|---|
| 1/2 | R-b | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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