NFS: kswapd must not block in nfs_release_page
commit2feba60ecd830b7865e14ffda86d99cdbb265add
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Fri, 30 Jul 2010 19:31:54 +0000 (30 15:31 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 10 Aug 2010 17:54:05 +0000 (10 10:54 -0700)
tree88412493e2b828dd8fa2572f2448676f53e7b8de
parent0755c191083b5bc37734da39cf3ba5edcadb90e3
NFS: kswapd must not block in nfs_release_page

commit b608b283a962caaa280756bc8563016a71712acf upstream.

See https://bugzilla.kernel.org/show_bug.cgi?id=16056

If other processes are blocked waiting for kswapd to free up some memory so
that they can make progress, then we cannot allow kswapd to block on those
processes.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
fs/nfs/file.c
fs/nfs/write.c
include/linux/nfs_fs.h