xfs: test clearing reflink inode flag

Check that xfs_repair can clear the reflink inode flag.

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-06-17 09:40:25 -07:00
committed by Eryu Guan
parent 872ccc54ca
commit 1103003600
3 changed files with 114 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
QA output created by 327
Format filesystem
Create files
Check files
8fa14cdd754f91cc6554c9e71929cce7 SCRATCH_MNT/file.0
[reflink] SCRATCH_MNT/file.0
8fa14cdd754f91cc6554c9e71929cce7 SCRATCH_MNT/file.64
[reflink] SCRATCH_MNT/file.64
8fa14cdd754f91cc6554c9e71929cce7 SCRATCH_MNT/file.128
[reflink] SCRATCH_MNT/file.128
CoW all files
Repair filesystem
Check files again
8fa14cdd754f91cc6554c9e71929cce7 SCRATCH_MNT/file.0
[] SCRATCH_MNT/file.0
0f17fd72b7bbf5bda0ff433e6d1fc118 SCRATCH_MNT/file.64
[] SCRATCH_MNT/file.64
0f17fd72b7bbf5bda0ff433e6d1fc118 SCRATCH_MNT/file.128
[] SCRATCH_MNT/file.128
Done