xfs: test allocation group metadata corruption checking and repair
authorDarrick J. Wong <darrick.wong@oracle.com>
Mon, 21 Sep 2015 02:50:22 +0000 (12:50 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 21 Sep 2015 02:50:22 +0000 (12:50 +1000)
commitd492bcd86bc4caaae4d3e6964767dd3a03139418
tree5896848f5c28cf7f8bbc361aa46751be25562148
parentfc4dd6168835ede80e97bba42feb7b60eeb46263
xfs: test allocation group metadata corruption checking and repair

Targeted fuzzing tests which destroy various pieces of filesystem or
allocation group metadata; the tests look for (a) kernel detection of
corruption, (b) xfs_repair repair of said corruption, and (c)
post-repair fs usability.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
20 files changed:
common/rc
tests/xfs/085 [new file with mode: 0755]
tests/xfs/085.out [new file with mode: 0644]
tests/xfs/086 [new file with mode: 0755]
tests/xfs/086.out [new file with mode: 0644]
tests/xfs/087 [new file with mode: 0755]
tests/xfs/087.out [new file with mode: 0644]
tests/xfs/088 [new file with mode: 0755]
tests/xfs/088.out [new file with mode: 0644]
tests/xfs/089 [new file with mode: 0755]
tests/xfs/089.out [new file with mode: 0644]
tests/xfs/091 [new file with mode: 0755]
tests/xfs/091.out [new file with mode: 0644]
tests/xfs/093 [new file with mode: 0755]
tests/xfs/093.out [new file with mode: 0644]
tests/xfs/097 [new file with mode: 0755]
tests/xfs/097.out [new file with mode: 0644]
tests/xfs/098 [new file with mode: 0755]
tests/xfs/098.out [new file with mode: 0644]
tests/xfs/group