Files
apfstests/tests/xfs/317.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

17 lines
482 B
Plaintext

QA output created by 317
Format filesystem
Create files
Check files
4155b81ac6d45c0182fa2bc03960f230 SCRATCH_MNT/file0
d41d8cd98f00b204e9800998ecf8427e SCRATCH_MNT/file1
Inject error
Write files
FS should be shut down, touch will fail
touch: cannot touch 'SCRATCH_MNT/badfs': Input/output error
Remount to replay log
Check files
4155b81ac6d45c0182fa2bc03960f230 SCRATCH_MNT/file0
d41d8cd98f00b204e9800998ecf8427e SCRATCH_MNT/file1
FS should be online, touch should succeed
Done