Xfs fails in xfstests 013
Lukáš Czerner
lczerner at redhat.com
Mon Feb 11 06:08:12 CST 2013
On Mon, 11 Feb 2013, Dave Chinner wrote:
> Date: Mon, 11 Feb 2013 09:16:00 +1100
> From: Dave Chinner <david at fromorbit.com>
> To: Lukáš Czerner <lczerner at redhat.com>
> Cc: xfs at oss.sgi.com
> Subject: Re: Xfs fails in xfstests 013
>
> On Mon, Feb 04, 2013 at 10:00:13AM +1100, Dave Chinner wrote:
> > On Fri, Feb 01, 2013 at 03:33:06PM +0100, Lukáš Czerner wrote:
> > > On Fri, 1 Feb 2013, Lukáš Czerner wrote:
> > > and I have not hit the assert. However I think that I know what's
> > > going on. The verifier is obviously not attached when the symlink is
> > > created, however it is attached when security attributes are created
> > > for the symlink by xfs_init_security().
> >
> > Which means the bug is in xfs_bmap_add_attrfork_local() in calling
> > xfs_bmap_local_to_extents(). i.e it assumes that the local data is
> > either directory data or extent data, and is attaching extent tree
> > verifiers to the buffer that contains a remote symlink. Thinking
> > time now needed, as this affects the symlink CRC changes as well.
> >
> > Thanks for the debug help, Lukas.
>
> Lukas, can you check whether the patch below fixes the problem you
> saw?
Hi Dave,
from my testing it seems that ti fixes the problem. Can not
reproduce it anymore with the patch applied.
Thanks!
-Lukas
>
> Cheers,
>
> Dave.
>
More information about the xfs
mailing list