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
+10
View File
@@ -0,0 +1,10 @@
QA output created by 329
Format and mount
Create a many-block file
Inject error
Defrag the file
FS should be shut down, touch will fail
touch: cannot touch 'SCRATCH_MNT/badfs': Input/output error
Remount to replay log
Check extent count
FS should be online, touch should succeed