The patch titled VM: invalidate_inode_pages2_range() should not exit early has been added to the -mm tree. Its filename is vm-invalidate_inode_pages2_range-should-not-exit-early.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: VM: invalidate_inode_pages2_range() should not exit early From: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> Fix invalidate_inode_pages2_range() so that it does not immediately exit just because a single page in the specified range could not be removed. Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/truncate.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff -puN mm/truncate.c~vm-invalidate_inode_pages2_range-should-not-exit-early mm/truncate.c --- a/mm/truncate.c~vm-invalidate_inode_pages2_range-should-not-exit-early +++ a/mm/truncate.c @@ -376,10 +376,10 @@ int invalidate_inode_pages2_range(struct pagevec_init(&pvec, 0); next = start; - while (next <= end && !ret && !wrapped && + while (next <= end && !wrapped && pagevec_lookup(&pvec, mapping, next, min(end - next, (pgoff_t)PAGEVEC_SIZE - 1) + 1)) { - for (i = 0; !ret && i < pagevec_count(&pvec); i++) { + for (i = 0; i < pagevec_count(&pvec); i++) { struct page *page = pvec.pages[i]; pgoff_t page_index; _ Patches currently in -mm which might be from Trond.Myklebust@xxxxxxxxxx are origin.patch auth_gss-unregister-gss_domain-when-unloading-module.patch nfs-kill-the-obsolete-nfs_paranoia.patch vm-invalidate_inode_pages2_range-should-not-exit-early.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