xfstests: Test xfs_fsr / swapext management of di_forkoff w/ selinux

In some cases selinux's creation of an xattr on the temporary
fd creates a local xattr, but the file we are trying to 
defragment has attrs in extent format, and the forkoff mismatch
will cause xfs_fsr to fail.  This test demonstrates it;  I
have old patches sent to the list long ago that should fix
it.  I'll resend them soon.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Rich Johnston <rjohnston@sgi.com>
This commit is contained in:
Eric Sandeen
2013-10-18 16:23:14 +00:00
committed by Rich Johnston
parent 56a3959a96
commit 5d88b638ff
3 changed files with 92 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
QA output created by 300
SCRATCH_MNT/300.test
extents before:6 after:1 DONE SCRATCH_MNT/300.test