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