ext4: test block group metadata corruption checking and repair

Targeted fuzzing tests which destroy various pieces of filesystem or
block group metadata; the tests look for (a) kernel detection of
corruption, (b) e2fsck 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>
This commit is contained in:
Darrick J. Wong
2015-09-21 12:09:16 +10:00
committed by Dave Chinner
parent bf16cde854
commit e953517639
14 changed files with 699 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
QA output created by 008
+ create scratch fs
+ mount fs image
+ make some files
+ check fs
+ corrupt image
+ mount image
+ repair fs
+ mount image (2)
+ check fs (2)