mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: test directory metadata corruption checking and repair
Targeted fuzzing tests which destroy various pieces of directory 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>
This commit is contained in:
committed by
Dave Chinner
parent
d492bcd86b
commit
c8e6dbc881
@@ -0,0 +1,14 @@
|
||||
QA output created by 113
|
||||
+ create scratch fs
|
||||
+ mount fs image
|
||||
+ make some files
|
||||
+ check fs
|
||||
+ check dir
|
||||
+ corrupt dir
|
||||
+ mount image
|
||||
+ modify dir
|
||||
+ repair fs
|
||||
+ mount image (2)
|
||||
+ chattr -R -i
|
||||
+ modify dir (2)
|
||||
+ check fs (2)
|
||||
Reference in New Issue
Block a user