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
+10
View File
@@ -0,0 +1,10 @@
QA output created by 302
Format and mount
Create the original files
Compare files
2909feb63a37b0e95fe5cfb7f274f7b1 SCRATCH_MNT/test-302/file1
2909feb63a37b0e95fe5cfb7f274f7b1 SCRATCH_MNT/test-302/file2
CoW and unmount
Compare files
2909feb63a37b0e95fe5cfb7f274f7b1 SCRATCH_MNT/test-302/file1
Check extent counts