Files
apfstests/tests/xfs/326.out
T
Darrick J. Wong 872ccc54ca 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>
2016-07-07 12:24:13 +08:00

19 lines
597 B
Plaintext

QA output created by 326
Format filesystem
Create files
Check files
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file1
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file2
153498e22f8ff52d7f60b466a5e65285 SCRATCH_MNT/file3
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
2a4f043bf9730a9e8882c9264b9797b3 SCRATCH_MNT/file1
1e108771fba35e2f2961d1ad23efbff7 SCRATCH_MNT/file2
153498e22f8ff52d7f60b466a5e65285 SCRATCH_MNT/file3
Done