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 284
Format and mount
Create the original files
Compare files
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-284/file1
ce2023f765eba19677517c511886d5c9 SCRATCH_MNT/test-284/file3
bdbcf02ee0aa977795a79d25fcfdccb1 SCRATCH_MNT/test-284/file1.chk
CoW across the transition
Compare files
2dc2b131303b2f70ddb480778caac8b7 SCRATCH_MNT/test-284/file1
ce2023f765eba19677517c511886d5c9 SCRATCH_MNT/test-284/file3
2dc2b131303b2f70ddb480778caac8b7 SCRATCH_MNT/test-284/file1.chk