Re: mapped pages being truncated [was Re: 2.6.5-rc2-aa5]

From: Nathan Scott
Date: Tue Mar 30 2004 - 15:15:06 EST


On Tue, Mar 30, 2004 at 10:28:34AM -0800, Andrew Morton wrote:
> Andrea Arcangeli <andrea@xxxxxxx> wrote:
> >
> > here we go, my new debugging WARN_ON in in __remove_from_page_cache
> > triggered just before the other one in page_remove_rmap, as I expected
> > it was truncate removing pages from pagecache before all mappings were
> > dropped:
>
> XFS is doing peculiar things - xfs_setattr calls truncate_inode_pages()
> before running vmtruncate().
>
> xfs_setattr
> ->xfs_itruncate_start
> ->VOP_TOSS_PAGES
> ->fs_tosspages
> ->truncate_inode_pages

Oh. Fix in progress...

thanks.

--
Nathan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/