mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
86e7366e84
When testing with data=journal ext4, direct write to dmerror device doesn't return EIO, because ext4 turns direct write to buffered write in data=journal mode and all data is written to journal buffer. The write only fails later when commiting journal and error messages can be seen in dmesg. As the test is checking on the md5 checksum of the test file, it's ok to ignore the IO error returned by xfs_io, as long as the checksums match the golden image. Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
10 lines
253 B
Plaintext
10 lines
253 B
Plaintext
QA output created by 250
|
|
Format and mount
|
|
Create the original files
|
|
Compare files
|
|
ec8bb3b24d5b0f1b5bdf8c8f0f541ee6 SCRATCH_MNT/test-250/file2
|
|
Write and unmount
|
|
Compare files
|
|
3ed86318f4ff8da26c1c2a6e3041f9be SCRATCH_MNT/test-250/file2
|
|
Check for damage
|