Re: [PATCH][5/?] count writeback pages in nr_scanned

From: Rik van Riel
Date: Thu Jan 06 2005 - 08:30:25 EST


On Wed, 5 Jan 2005, Andrew Morton wrote:

The timeouts are for:

a) A fallback for backing stores which don't wake up waiters in
blk_congestion_wait() (eg: NFS).

This is buggy, btw. NFS has a "fun" deadlock where it can
send so many writes over the wire at once that the PF_MEMALLOC
allocations eat up all memory and there's no memory left to
receive ACKs from the NFS server ...

NFS will need to act congested when memory is low and there
are already some writeouts underway.

--
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it." - Brian W. Kernighan
-
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/