xfs: test fragmentation characteristics of copy-on-write

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>
This commit is contained in:
Darrick J. Wong
2016-01-13 20:33:22 -08:00
parent 4f1a5d60e5
commit 9184ca155d
32 changed files with 1781 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
QA output created by 208
Format and mount
Create the original files
Compare files
2909feb63a37b0e95fe5cfb7f274f7b1 SCRATCH_MNT/test-208/file1
2909feb63a37b0e95fe5cfb7f274f7b1 SCRATCH_MNT/test-208/file2
2909feb63a37b0e95fe5cfb7f274f7b1 SCRATCH_MNT/test-208/file3
CoW and unmount
Compare files
2909feb63a37b0e95fe5cfb7f274f7b1 SCRATCH_MNT/test-208/file1
d41f6527bc8320364e12ea7076140b8b SCRATCH_MNT/test-208/file2
d41f6527bc8320364e12ea7076140b8b SCRATCH_MNT/test-208/file3
Check extent counts