mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
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:
committed by
Dave Chinner
parent
6a4e8b81d9
commit
c84e01bac3
@@ -0,0 +1,15 @@
|
||||
QA output created by 148
|
||||
Create the original files
|
||||
f924bdda449af63913cad4357e39301e TEST_DIR/test-148/file1
|
||||
f924bdda449af63913cad4357e39301e TEST_DIR/test-148/file2
|
||||
f924bdda449af63913cad4357e39301e TEST_DIR/test-148/file3
|
||||
16cb529abe447a9f203a3d5eb3433c8b TEST_DIR/test-148/file2.chk
|
||||
6f042ad39f6c74f4b73936db89baa2e2 TEST_DIR/test-148/file3.chk
|
||||
truncate files
|
||||
Compare files
|
||||
f924bdda449af63913cad4357e39301e TEST_DIR/test-148/file1
|
||||
16cb529abe447a9f203a3d5eb3433c8b TEST_DIR/test-148/file2
|
||||
6f042ad39f6c74f4b73936db89baa2e2 TEST_DIR/test-148/file3
|
||||
16cb529abe447a9f203a3d5eb3433c8b TEST_DIR/test-148/file2.chk
|
||||
6f042ad39f6c74f4b73936db89baa2e2 TEST_DIR/test-148/file3.chk
|
||||
Compare against check files
|
||||
Reference in New Issue
Block a user