reflink: test CoW operations against the source file

Ensure that CoW operations against shared blocks in the source file
work correctly.

v2: remove filefrag dependencies

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
Darrick J. Wong
2016-02-03 12:59:27 -08:00
parent c741fbfd99
commit 37059d0ca7
22 changed files with 1007 additions and 2 deletions
+12
View File
@@ -0,0 +1,12 @@
QA output created by 291
Format and mount
Create the original files
Compare files
b8a8a88d4c143f79900c4b4e79aa3e37 SCRATCH_MNT/test-291/file1
ce2023f765eba19677517c511886d5c9 SCRATCH_MNT/test-291/file3
b8a8a88d4c143f79900c4b4e79aa3e37 SCRATCH_MNT/test-291/file1.chk
CoW across the transition
Compare files
e8cf59797f0b3758c8878c368bb4cf7e SCRATCH_MNT/test-291/file1
ce2023f765eba19677517c511886d5c9 SCRATCH_MNT/test-291/file3
e8cf59797f0b3758c8878c368bb4cf7e SCRATCH_MNT/test-291/file1.chk