mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
xfs: test xfs-specific reflink pieces
Check that the various XFS tools still work properly on reflinked XFSes. 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
f3965fde0a
commit
212adbab92
@@ -0,0 +1,32 @@
|
||||
QA output created by 132
|
||||
Create the original file blocks
|
||||
Create the reflink copies
|
||||
TEST_DIR/test-132/file1 ---
|
||||
TEST_DIR/test-132/file2 ---
|
||||
TEST_DIR/test-132/file3 ---
|
||||
TEST_DIR/test-132/file4 ---
|
||||
funshare part of a file
|
||||
TEST_DIR/test-132/file1 ---
|
||||
TEST_DIR/test-132/file2 ---
|
||||
TEST_DIR/test-132/file3 ---
|
||||
TEST_DIR/test-132/file4 ---
|
||||
funshare some of the copies
|
||||
TEST_DIR/test-132/file1 ---
|
||||
TEST_DIR/test-132/file2 No_COW
|
||||
TEST_DIR/test-132/file3 No_COW
|
||||
TEST_DIR/test-132/file4 ---
|
||||
funshare the rest of the files
|
||||
TEST_DIR/test-132/file1 No_COW
|
||||
TEST_DIR/test-132/file2 No_COW
|
||||
TEST_DIR/test-132/file3 No_COW
|
||||
TEST_DIR/test-132/file4 No_COW
|
||||
Rewrite the original file
|
||||
TEST_DIR/test-132/file1 No_COW
|
||||
TEST_DIR/test-132/file2 No_COW
|
||||
TEST_DIR/test-132/file3 No_COW
|
||||
TEST_DIR/test-132/file4 No_COW
|
||||
free blocks after reflinking is in range
|
||||
free blocks after nocow'ing some copies is in range
|
||||
free blocks after nocow'ing all copies is in range
|
||||
free blocks after overwriting original is in range
|
||||
free blocks after all tests is in range
|
||||
Reference in New Issue
Block a user