2.6.31 xfs_fs_destroy_inode: cannot reclaim

Christoph Hellwig hch at infradead.org
Sun Oct 18 22:53:15 CDT 2009


On Mon, Oct 19, 2009 at 12:17:10PM +1100, Dave Chinner wrote:
> >  
> > +	if (xfs_iflags_test(ip, XFS_INEW | XFS_IRECLAIMABLE | XFS_IRECLAIM)) {
> > +		read_unlock(&pag->pag_ici_lock);
> > +		return ENOENT;
> > +	}
> 
> This needs an IRELE(ip) here, doesn't it?

No, the check is before the igrab now.  That was kinda the point as I
suspect that the igrab might be corrupting state of a reclaimable or
in reclaim inode.




More information about the xfs mailing list