]> git.neil.brown.name Git - history.git/commit
[PATCH] Fix nfs writepage behaviour
authorAndrew Morton <akpm@osdl.org>
Mon, 14 Jun 2004 06:16:27 +0000 (23:16 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 14 Jun 2004 06:16:27 +0000 (23:16 -0700)
commit5241cac5c1d66b32652fbdc412115b27f6b95e0f
tree3a066a7a3484abfd8f95c9dd8b9c4eb288a68028
parentdca8ede41e938a013f2a6f9e31861af49af5aa7b
[PATCH] Fix nfs writepage behaviour

From: Nick Piggin <nickpiggin@yahoo.com.au>

nfs_writepage() refuses to write back mapped pages at all on the page
reclaim path, causing systems to get locked up when there's a lot of dirty
mmapped data around.  The patch changes NFS so that it will start I/O
against these pages.

The code as it stands is designed to defer writeout to pdflush which can do
larger, more efficient I/Os.  But there shouldn't be much traffic by this
path, and going slow is better than not going at all.

Patch originally from Trond.

Signed-off-by: Trond Myklebust <trond.myklebust@fys.uio.no>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/nfs/write.c