+ mm-remove-invalidate_inode_pages2_range-debug.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     MM: Remove [PATCH] invalidate_inode_pages2_range() debug
has been added to the -mm tree.  Its filename is
     mm-remove-invalidate_inode_pages2_range-debug.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: MM: Remove [PATCH] invalidate_inode_pages2_range() debug
From: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>

NFS can handle the case where invalidate_inode_pages2_range() fails, so the
premise behind commit 8258d4a574d3a8c01f0ef68aa26b969398a0e140 is now gone.

Remove the WARN_ON_ONCE() which is causing users grief as we can see from
http://bugzilla.kernel.org/show_bug.cgi?id=7826

Signed-off-by: Trond Myklebust <Trond.Myklebust@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 mm/truncate.c |    1 -
 1 file changed, 1 deletion(-)

diff -puN mm/truncate.c~mm-remove-invalidate_inode_pages2_range-debug mm/truncate.c
--- a/mm/truncate.c~mm-remove-invalidate_inode_pages2_range-debug
+++ a/mm/truncate.c
@@ -422,7 +422,6 @@ int invalidate_inode_pages2_range(struct
 		pagevec_release(&pvec);
 		cond_resched();
 	}
-	WARN_ON_ONCE(ret);
 	return ret;
 }
 EXPORT_SYMBOL_GPL(invalidate_inode_pages2_range);
_

Patches currently in -mm which might be from Trond.Myklebust@xxxxxxxxxx are

mm-remove-invalidate_inode_pages2_range-debug.patch
auth_gss-unregister-gss_domain-when-unloading-module.patch
nfs-kill-the-obsolete-nfs_paranoia.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux