xfs
[Top] [All Lists]

Re: migration to selinux + xfs_fsr oddity....

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: migration to selinux + xfs_fsr oddity....
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 12 May 2009 12:04:03 -0400
Cc: xfs-oss <xfs@xxxxxxxxxxx>
In-reply-to: <49FF9B8E.7040607@xxxxxxxxxxx>
References: <49FF9B8E.7040607@xxxxxxxxxxx>
User-agent: Mutt/1.5.18 (2008-05-17)
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.

<Prev in Thread] Current Thread [Next in Thread>