public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] repair: fix AGFL rebuild problem
@ 2014-10-29  3:09 Dave Chinner
  2014-10-29  3:09 ` [PATCH 1/2] repair: fix XR_BLD_FREE_TRACE compilation errors Dave Chinner
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Dave Chinner @ 2014-10-29  3:09 UTC (permalink / raw)
  To: xfs; +Cc: bvowk

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
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-10-30 13:43 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-29  3:09 [PATCH 0/2] repair: fix AGFL rebuild problem Dave Chinner
2014-10-29  3:09 ` [PATCH 1/2] repair: fix XR_BLD_FREE_TRACE compilation errors Dave Chinner
2014-10-29  4:03   ` Eric Sandeen
2014-10-29 19:24   ` Brian Foster
2014-10-29  3:09 ` [PATCH 2/2] repair: AGFL rebuild fails if btree split required Dave Chinner
2014-10-29 19:26   ` Brian Foster
2014-10-29 19:59     ` Dave Chinner
2014-10-30 13:42       ` Brian Foster
2014-10-29 18:23 ` [PATCH 0/2] repair: fix AGFL rebuild problem Barkley Vowk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox