migration to selinux + xfs_fsr oddity....
hch at infradead.org
Tue May 12 11:04:03 CDT 2009
On Mon, May 04, 2009 at 08:51:10PM -0500, Eric Sandeen wrote:
> This came up in RH Bugzilla #498860, "xfs_fsr fails to complete"
> The reporter had an existing xfs filesystem from another Linux OS, and
> was using it under Fedora now. He had some files for which xfs_fsr
> bails out with EINVAL:
> XFS_IOC_SWAPEXT failed: fragfile: Invalid argument
As analyzed in the bugzilla this is a problem when selinux attributes
are created underneath due to selinux.
Either we relax the attribute fork check an allow the new inode to have
an attribute fork despite the old one not having one, or we need to
create a fake xattr on the file to be defragmented.
More information about the xfs