What should to do with ASSERT failed

Mike Gao ygao.linux at gmail.com
Mon Aug 30 15:55:02 CDT 2010


xfs_vm_writepage
{
               /*
* A hole may still be marked uptodate because discard_buffer
 * leaves the flag set.
 */
if (!buffer_mapped(bh) && buffer_uptodate(bh)) {
 ASSERT(!buffer_dirty(bh));
 imap_valid = 0;
 continue;
}
}

I met this case that buffer is marked as dirty which make assert failed.
What does this mean and what I can do with it?

Thanks very much,
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://oss.sgi.com/pipermail/xfs/attachments/20100830/9a0f2d09/attachment.htm>


More information about the xfs mailing list