On Mon, Aug 16, 2010 at 12:19:50PM +0800, Nikanth Karthikesan wrote:
Nikanth, there's a more elegant solution in upstream kernel.
See the comment for task_dirty_limit() in commit 1babe1838.
NFS may want to limit per-file dirty pages, to prevent long stall time
inside the nfs_getattr()->filemap_write_and_wait() calls (and problems
like that). Peter Staubach has similar ideas on it.
Thanks,
Fengguang
--