]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] invalidate_inode_pages2_range() debug
authorAndrew Morton <akpm@osdl.org>
Wed, 11 Oct 2006 08:21:53 +0000 (01:21 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 11 Oct 2006 18:14:22 +0000 (11:14 -0700)
commitb0b228f3d97f5f35827da5cc555438a5f99ac30d
treeb3b3e062f340f0bbddd166358a7adebe6099574a
parent25eab58e21108dce0e25fdf1060c10f51b61be89
[PATCH] invalidate_inode_pages2_range() debug

A failure in invalidate_inode_pages2_range() can result in unpleasant things
happening in NFS (at least).  Stick a WARN_ON_ONCE() in there so we can find
out if it happens, and maybe why.

(akpm: might be a -mm-only patch, we'll see..)

Cc: Chuck Lever <chuck.lever@oracle.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
Cc: Steve Dickson <SteveD@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/truncate.c