mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
872ccc54ca
Use the error injection mechanism to test log recovery of deferred work. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
16 lines
441 B
Plaintext
16 lines
441 B
Plaintext
QA output created by 325
|
|
Format filesystem
|
|
Create files
|
|
Check files
|
|
d5a0ed0305c8df4180cb2bf975ecffe8 SCRATCH_MNT/file1
|
|
d5a0ed0305c8df4180cb2bf975ecffe8 SCRATCH_MNT/file2
|
|
Inject error
|
|
CoW a few blocks
|
|
FS should be shut down, touch will fail
|
|
touch: cannot touch 'SCRATCH_MNT/badfs': Input/output error
|
|
Remount to replay log
|
|
FS should be online, touch should succeed
|
|
Check files again
|
|
7629bd70d19d7291b448221ac44b26d9 SCRATCH_MNT/file2
|
|
Done
|