xfs: test swapext with reflink

Add a few tests to stress the new swapext code for reflink and rmap.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
Darrick J. Wong
2016-08-25 16:29:03 -07:00
committed by Eryu Guan
parent a381fcbc67
commit bb5bd55108
7 changed files with 339 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
QA output created by 330
Format and mount
Create a many-block file
root -- 0 0 0 4 0 0
nobody -- 256 0 0 2 0 0
Defrag the file
root -- 0 0 0 4 0 0
nobody -- 256 0 0 2 0 0
Remount the FS to see if accounting changes
root -- 0 0 0 4 0 0
nobody -- 256 0 0 2 0 0
Check extent count