mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
dio: unwritten conversion bug tests
Check that we don't expose old disk contents when a directio write to an unwritten extent fails due to IO errors. This primarily affects XFS and ext4. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
QA output created by 252
|
||||
Format and mount
|
||||
Create the original files
|
||||
Compare files
|
||||
ec8bb3b24d5b0f1b5bdf8c8f0f541ee6 SCRATCH_MNT/test-252/file2
|
||||
CoW and unmount
|
||||
write missed bytes expect 8388608 got 0
|
||||
Compare files
|
||||
3ed86318f4ff8da26c1c2a6e3041f9be SCRATCH_MNT/test-252/file2
|
||||
Check for damage
|
||||
Reference in New Issue
Block a user