The patch titled Fix BUG in cancel_dirty_pages on XFS has been added to the -mm tree. Its filename is fix-bug-in-cancel_dirty_pages-on-xfs.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Fix BUG in cancel_dirty_pages on XFS From: David Chinner <dgc@xxxxxxx> Make XFS use the new truncate_unmap_inode_pages_range() function. Signed-off-by: Dave Chinner <dgc@xxxxxxx> Cc: Nick Piggin <nickpiggin@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/xfs/linux-2.6/xfs_fs_subr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff -puN fs/xfs/linux-2.6/xfs_fs_subr.c~fix-bug-in-cancel_dirty_pages-on-xfs fs/xfs/linux-2.6/xfs_fs_subr.c --- a/fs/xfs/linux-2.6/xfs_fs_subr.c~fix-bug-in-cancel_dirty_pages-on-xfs +++ a/fs/xfs/linux-2.6/xfs_fs_subr.c @@ -32,7 +32,8 @@ fs_tosspages( struct inode *ip = vn_to_inode(vp); if (VN_CACHED(vp)) - truncate_inode_pages(ip->i_mapping, first); + truncate_unmap_inode_pages_range(ip->i_mapping, + first, last, 1); } void @@ -49,7 +50,8 @@ fs_flushinval_pages( if (VN_TRUNC(vp)) VUNTRUNCATE(vp); filemap_write_and_wait(ip->i_mapping); - truncate_inode_pages(ip->i_mapping, first); + truncate_unmap_inode_pages_range(ip->i_mapping, + first, last, 1); } } _ Patches currently in -mm which might be from dgc@xxxxxxx are add-truncate_unmap_inode_pages_range.patch fix-bug-in-cancel_dirty_pages-on-xfs.patch xfs-remove-useless-wmb-memory-barrier.patch make-bh_unwritten-a-first-class-bufferhead-flag-v2.patch make-xfs-use-bh_unwritten-and-bh_delay-correctly.patch sysctl-xfs-remove-unnecessary-insert_at_head-flag.patch sysctl-c99-convert-xfs-ctl_tables.patch sysctl-c99-convert-xfs-ctl_tables-fixes.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html