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>
18 lines
555 B
Plaintext
18 lines
555 B
Plaintext
QA output created by 324
|
|
Format filesystem
|
|
Create files
|
|
Check files
|
|
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file1
|
|
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file2
|
|
153498e22f8ff52d7f60b466a5e65285 SCRATCH_MNT/file3
|
|
Inject error
|
|
Reflink all the blocks
|
|
Remount to replay log
|
|
FS should be online, touch should succeed
|
|
Check files again
|
|
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file1
|
|
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file2
|
|
153498e22f8ff52d7f60b466a5e65285 SCRATCH_MNT/file3
|
|
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file4
|
|
Done
|