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

From: Andrew Morton
Date: Tue Mar 30 2004 - 13:29:46 EST


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


-
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/