2.6.30 panic - xfs_fs_destroy_inode

Christoph Hellwig hch at infradead.org
Mon Aug 17 16:14:37 CDT 2009


On Wed, Jul 22, 2009 at 10:55:54AM +0200, Tommy van Leeuwen wrote:
> Unfortunately we still get errors, with this patch on top of the
> previous one: The difference is that is now crashes within an hour
> instead of once a week, so that might be good for troubleshooting.

Hi Tommy and sorry for dropping the ball on this, I didn't remember this
mail anymore until I look for more reporters of the inode related
problems.

Current mainline (Linus' git as of today) has a lot of the fixes in this
area, any chance I could trick you into trying it?  Maybe including the
debug patch below which adds a printk to that one culprit that I thing
might remain:

Also if it still happens any chance you could send output of the dmesg
command instead of the syslog files?  For some reason syslogd usually
eats up some bits of kernel oops message..


Index: linux-2.6/fs/xfs/xfs_iget.c
===================================================================
--- linux-2.6.orig/fs/xfs/xfs_iget.c	2009-08-17 18:08:39.563217129 -0300
+++ linux-2.6/fs/xfs/xfs_iget.c	2009-08-17 18:09:12.999316531 -0300
@@ -242,6 +242,8 @@ xfs_iget_cache_hit(
 
 		error = -inode_init_always(mp->m_super, inode);
 		if (error) {
+			printk("XFS: inode_init_always failed to re-initialize inode\n");
+
 			/*
 			 * Re-initializing the inode failed, and we are in deep
 			 * trouble.  Try to re-add it to the reclaim list.




More information about the xfs mailing list