Re: [RFC 0/8] Cpuset aware writeback

From: Neil Brown
Date: Fri Feb 02 2007 - 01:03:12 EST


On Thursday February 1, clameter@xxxxxxx wrote:
> The NFS problems also exist for non cpuset scenarios
> and we have by and large been able to live with it so I think they are
> lower priority. It seems that the basic problem is created by the dirty
> ratios in a cpuset.

Some of our customers haven't been able to live with it. I'm really
glad this will soon be fixed in mainline as it means our somewhat less
elegant fix in SLES can go away :-)

>
> BTW the block layer also may be layered with raid and stuff and then we
> have similar issues. There is no general way so far of handling these
> situations except by twiddling around with min_free_kbytes praying 5 Hail
> Mary's and trying again.

md/raid doesn't cause any problems here. It preallocates enough to be
sure that it can always make forward progress. In general the entire
block layer from generic_make_request down can always successfully
write a block out in a reasonable amount of time without requiring
kmalloc to succeed (with obvious exceptions like loop and nbd which go
back up to a higher layer).

The network stack is of course a different (much harder) problem.

NeilBrown
-
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/