mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
c741fbfd99
Test various scenarios (with dm-flakey) where we simulate write failures during CoW, to see if the FS can get through it without blowing up or corrupting data. Plumb in a FS-generic method to sort out repairing filesystems after they get hit by IO errors. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
13 lines
346 B
Plaintext
13 lines
346 B
Plaintext
QA output created by 283
|
|
Format and mount
|
|
Create the original files
|
|
Compare files
|
|
1886e67cf8783e89ce6ddc5bb09a3944 SCRATCH_MNT/test-283/file1
|
|
1886e67cf8783e89ce6ddc5bb09a3944 SCRATCH_MNT/test-283/file2
|
|
CoW and unmount
|
|
msync: Input/output error
|
|
Rewrite
|
|
Compare files
|
|
1886e67cf8783e89ce6ddc5bb09a3944 SCRATCH_MNT/test-283/file1
|
|
Check for damage
|