xfs: test source CoW across mixed block types with cowextsz set

Ensure that we can CoW the source file when the source file consists
of a range of mixed block types and there's a cowextsize hint set.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
Darrick J. Wong
2016-02-10 09:20:45 -08:00
parent 4562a0f6d4
commit 5a1e1eda02
17 changed files with 852 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
QA output created by 254
Format and mount
Create the original files
Compare files
b8a8a88d4c143f79900c4b4e79aa3e37 SCRATCH_MNT/test-254/file1
ce2023f765eba19677517c511886d5c9 SCRATCH_MNT/test-254/file3
b8a8a88d4c143f79900c4b4e79aa3e37 SCRATCH_MNT/test-254/file1.chk
CoW across the transition
Compare files
e8cf59797f0b3758c8878c368bb4cf7e SCRATCH_MNT/test-254/file1
ce2023f765eba19677517c511886d5c9 SCRATCH_MNT/test-254/file3
e8cf59797f0b3758c8878c368bb4cf7e SCRATCH_MNT/test-254/file1.chk