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
776 B
Plaintext
20 lines
776 B
Plaintext
QA output created by 138
|
|
Create the original files
|
|
Compare files
|
|
60ebe700450b6015c17fa15cacb9493b TEST_DIR/test-138/file1
|
|
60ebe700450b6015c17fa15cacb9493b TEST_DIR/test-138/file2
|
|
60ebe700450b6015c17fa15cacb9493b TEST_DIR/test-138/file3
|
|
pagecache CoW the second file
|
|
Compare files
|
|
60ebe700450b6015c17fa15cacb9493b TEST_DIR/test-138/file1
|
|
4a879c2f322121f6f4b8ebede1909a7c TEST_DIR/test-138/file2
|
|
4a879c2f322121f6f4b8ebede1909a7c TEST_DIR/test-138/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
|