mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: inject errors at various parts of the deferred op completion
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>
This commit is contained in:
committed by
Eryu Guan
parent
219d4cdcb6
commit
872ccc54ca
@@ -0,0 +1,19 @@
|
||||
QA output created by 319
|
||||
Format filesystem
|
||||
Create files
|
||||
Check files
|
||||
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file1
|
||||
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file2
|
||||
4155b81ac6d45c0182fa2bc03960f230 SCRATCH_MNT/file3
|
||||
Inject error
|
||||
Try to reflink
|
||||
XFS_IOC_CLONE_RANGE: Input/output error
|
||||
FS should be shut down, touch will fail
|
||||
touch: cannot touch 'SCRATCH_MNT/badfs': Input/output error
|
||||
Remount to replay log
|
||||
Check files
|
||||
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file1
|
||||
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file2
|
||||
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file3
|
||||
FS should be online, touch should succeed
|
||||
Done
|
||||
Reference in New Issue
Block a user