mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
9184ca155d
Perform copy-on-writes at random offsets to stress the CoW allocation system. Assess the effectiveness of the extent size hint at combatting fragmentation via unshare, a rewrite, and no-op after the random writes. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
19 lines
676 B
Plaintext
19 lines
676 B
Plaintext
QA output created by 207
|
|
Format and mount
|
|
Create the original files
|
|
Set extsz and cowextsz on zero byte file
|
|
Set extsz and cowextsz on 1Mbyte file
|
|
xfs_io: XFS_IOC_FSSETXATTR SCRATCH_MNT/test-207/file2: Invalid argument
|
|
Check extsz and cowextsz settings on zero byte file
|
|
[1048576] SCRATCH_MNT/test-207/file1
|
|
[1048576] SCRATCH_MNT/test-207/file1
|
|
Check extsz and cowextsz settings on 1Mbyte file
|
|
[0] SCRATCH_MNT/test-207/file2
|
|
[1048576] SCRATCH_MNT/test-207/file2
|
|
Set cowextsize and check flag
|
|
fsxattr.xflags = 0x20000 [---------------C]
|
|
[1048576] SCRATCH_MNT/test-207/file3
|
|
Unset cowextsize and check flag
|
|
fsxattr.xflags = 0x0 [----------------]
|
|
[0] SCRATCH_MNT/test-207/file3
|