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 262
Format and mount
Create the original files
Compare files
c946b71bb69c07daf25470742c967e7c SCRATCH_MNT/test-262/file1
c946b71bb69c07daf25470742c967e7c SCRATCH_MNT/test-262/file2
c946b71bb69c07daf25470742c967e7c SCRATCH_MNT/test-262/file2.chk
CoW and unmount
Compare files
c946b71bb69c07daf25470742c967e7c SCRATCH_MNT/test-262/file1
b9f7a56c2ab90569cb19d8597583c6a6 SCRATCH_MNT/test-262/file2
b9f7a56c2ab90569cb19d8597583c6a6 SCRATCH_MNT/test-262/file2.chk