Re: nfs unhappiness with memory pressure

From: Trond Myklebust
Date: Tue Dec 06 2005 - 07:18:51 EST


On Tue, 2005-12-06 at 16:42 +1100, Nick Piggin wrote:

> writepage should as well, then it would have a better chance
> of just doing the right thing.

writepage triggers a stable write of the page (i.e. the page is written
directly to disk) if asked to reclaim it.

If the VM wants the unstable writes from the mapping to be committed, it
should call writepages.

Cheers,
Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/