reflink: test CoW behaviors of reflinked files

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>
This commit is contained in:
Darrick J. Wong
2015-11-17 08:39:32 +11:00
committed by Dave Chinner
parent cc8e860cc9
commit 6a4e8b81d9
11 changed files with 715 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
QA output created by 142
Create the original file blocks
f4820540fc0ac02750739896fe028d56 TEST_DIR/test-142/file1
Create the reflink copies
Rewrite the copies
Examine original file
f4820540fc0ac02750739896fe028d56 TEST_DIR/test-142/file1
eb34153e9ed1e774db28cbbe4090a449 TEST_DIR/test-142/file2