Re: [BUG] assert in xfs_imap_to_bp, line 185

Christoph Hellwig
2011-11-08T17:06:09Z

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.