mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
6a4e8b81d9
Ensure that CoW happens correctly with buffered, directio, and mmap writes. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Acked-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
20 lines
771 B
Plaintext
20 lines
771 B
Plaintext
QA output created by 140
|
|
Create the original files
|
|
Compare files
|
|
60ebe700450b6015c17fa15cacb9493b TEST_DIR/test-140/file1
|
|
60ebe700450b6015c17fa15cacb9493b TEST_DIR/test-140/file2
|
|
60ebe700450b6015c17fa15cacb9493b TEST_DIR/test-140/file3
|
|
mmap CoW the second file
|
|
Compare files
|
|
60ebe700450b6015c17fa15cacb9493b TEST_DIR/test-140/file1
|
|
795ecfd281dbda4916431376228e4187 TEST_DIR/test-140/file2
|
|
795ecfd281dbda4916431376228e4187 TEST_DIR/test-140/file3
|
|
Files 1-2 do not match (intentional)
|
|
Files 1-3 do not match (intentional)
|
|
Compare the CoW'd section to the before file
|
|
Start sections do not match (intentional)
|
|
Middle sections do not match (intentional)
|
|
End sections do not match (intentional)
|
|
Compare the CoW'd section to the after file
|
|
Compare the not CoW'd sections
|