reflink: test the various fallocate modes

Check that the variants of fallocate (allocate, punch, zero range,
collapse range, insert range) do the right thing when they're run
against a range of reflinked blocks.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Acked-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Darrick J. Wong
2015-11-17 08:39:37 +11:00
committed by Dave Chinner
parent 6a4e8b81d9
commit c84e01bac3
13 changed files with 924 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
QA output created by 144
Create the original files
Compare sections
ee8004e6298fa128477bd4aa1adc69fb TEST_DIR/test-144/file1
a7cb8cb9697d59413e0d10495d226398 TEST_DIR/test-144/file2
7d42a0a2865c94f45435a2ce7627da02 TEST_DIR/test-144/file3
7f528bc76f4d61ff9cff7bc1906579c6 TEST_DIR/test-144/file4
ee8004e6298fa128477bd4aa1adc69fb TEST_DIR/test-144/file5
Compare files
falloc everything
Compare files
ee8004e6298fa128477bd4aa1adc69fb TEST_DIR/test-144/file1
a7cb8cb9697d59413e0d10495d226398 TEST_DIR/test-144/file2
7d42a0a2865c94f45435a2ce7627da02 TEST_DIR/test-144/file3
7f528bc76f4d61ff9cff7bc1906579c6 TEST_DIR/test-144/file4
ee8004e6298fa128477bd4aa1adc69fb TEST_DIR/test-144/file5