Re: [PATCH 03/13] writeback: add comment to the dirty limitsfunctions
From: Peter Zijlstra
Date: Fri Aug 06 2010 - 06:18:17 EST
On Fri, 2010-08-06 at 00:10 +0800, Wu Fengguang wrote:
Acked-by: Peter Zijlstra <a.p.zijlstra@xxxxxxxxx>
> +/**
> + * bdi_dirty_limit - @bdi's share of dirty throttling threshold
> + *
> + * Allocate high/low dirty limits to fast/slow devices, in order to prevent
> + * - starving fast devices
> + * - piling up dirty pages (that will take long time to sync) on slow devices
> + *
> + * The bdi's share of dirty limit will be adapting to its throughput and
> + * bounded by the bdi->min_ratio and/or bdi->max_ratio parameters, if set.
> + */
Another thing solved by the introduction of per-bdi dirty limits (and
now per-bdi flushing) is the whole stacked-bdi writeout deadlock.
Although I'm not sure we want/need to mention that here.
--
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/