Re: [BUG] assert in xfs_imap_to_bp, line 185

Ben Myers
2011-11-08T17:18:55Z

On Tue, Nov 08, 2011 at 12:06:07PM -0500, Christoph Hellwig wrote:
> On Tue, Nov 08, 2011 at 10:39:32AM -0600, Ben Myers wrote:
> > Hi XFS Folks,
> >
> > I am able to hit this assert consistently when running test 111 on recent
> > (commit 9e4c109a) oss xfs bits:
>
> That's expected - the test must only be run on non-debug kernels. It
> corrupt the inode, and then we read it. A normal kernel shouldn't
> panic, but for the debug kernel we settled on an assert for it.
>
> I'm not sure it's a smart idea, and WANT_CORRUPTED_GOTO might be
> better in the end.

Thanks Christoph! Sorry for the extra noise.. I'll remember use the
'auto' group next time.

-Ben