Files
apfstests/tests/xfs
Brian Foster ed48b428c6 xfs: xfs_repair secondary sb verification regression test
The secondary superblock verification in xfs_repair was subject to a bug
that unnecessarily leads to a brute force superblock scan if the last
superblock in the fs happens to be corrupt. Normally, xfs_repair handles
one-off superblock corruption gracefully using a heuristic that finds
the most consistent superblock content across the set of secondary
superblocks.

Create a regression test for xfs_repair that corrupts the last
superblock in the fs. Verify the superblock is updated from the
previously verified sb content and a brute force scan is not initiated.
In the event of failure, detect that a brute force scan has started and
abort the repair in order to fail the test quickly.

To support the test, extend the xfs_repair filter to handle corrupted
superblock repair output and provide generic test output for arbitrary
AG counts.

Signed-off-by: Brian Foster <bfoster@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
2015-02-12 14:12:14 +11:00
..
2013-04-04 06:55:21 -05:00
2014-04-04 17:19:28 +11:00
2014-10-14 17:40:34 +11:00
2014-10-14 17:40:34 +11:00
2013-04-04 06:55:21 -05:00
2014-05-13 15:28:35 +10:00
2013-10-22 16:08:35 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2014-02-18 17:16:34 +11:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2014-11-10 18:06:23 +11:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2014-10-14 22:59:39 +11:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2014-12-24 14:56:17 +11:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-12-03 10:29:26 +11:00
2013-04-04 06:55:21 -05:00
2013-12-03 10:29:26 +11:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-12-03 10:29:26 +11:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2013-04-04 06:55:21 -05:00
2014-02-06 16:36:14 +11:00
2014-12-12 11:26:15 +11:00
2014-03-13 15:20:54 +11:00
2014-12-12 11:26:15 +11:00
2014-01-22 07:21:19 -06:00