reflink: test intersecting CoW and falloc/fpunch/fzero/fcollapse/finsert/ftrunc

Ensure that we correctly handle a CoW operation immediately followed
by a truncate, falloc, fpunch, fzero, fcollapse, and finsert operation
in the middle of the CoW'd region before any flush can occur.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
This commit is contained in:
Darrick J. Wong
2016-01-05 10:06:37 -08:00
parent be32a7f154
commit 58ac6c6424
13 changed files with 621 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
QA output created by 264
Format and mount
Create the original files
Compare files
17af09af790a9b4c79cddf72f6b642cb SCRATCH_MNT/test-264/file1
17af09af790a9b4c79cddf72f6b642cb SCRATCH_MNT/test-264/file2
17af09af790a9b4c79cddf72f6b642cb SCRATCH_MNT/test-264/file2.chk
CoW and unmount
Compare files
17af09af790a9b4c79cddf72f6b642cb SCRATCH_MNT/test-264/file1
3383b9c17e643acd1a9a249cf041e183 SCRATCH_MNT/test-264/file2
3383b9c17e643acd1a9a249cf041e183 SCRATCH_MNT/test-264/file2.chk