]> git.hungrycats.org Git - linux/commit
[PATCH] Resource management for NFS...
authorAndrew Morton <akpm@digeo.com>
Mon, 14 Apr 2003 13:11:28 +0000 (06:11 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 14 Apr 2003 13:11:28 +0000 (06:11 -0700)
commit8a9e7331957fe5810607e058c779da4832536e99
treeab779fc5e00b0b041b88e6c9c92ab52ef4a4ed53
parent95751430ff9d90560703229b6be241f7f9a53dc2
[PATCH] Resource management for NFS...

From: Trond Myklebust <trond.myklebust@fys.uio.no>

The patch fixes some problems with NFS under heavy writeout.

NFS pages can be in a clean but unreclaimable state.  They are unreclaimable
because the server has not yet acked the write - we may need to "redirty"
them if the server crashes.

These are referred to as "unstable" pages.  We need to count them alongside
dirty and writeback pages when making flushing and throttling decisions.
Otherwise the machine can be flooded with these pages and the VM has
problems.
fs/nfs/write.c
include/linux/page-flags.h
mm/page-writeback.c
mm/page_alloc.c