From: NeilBrown Date: Tue, 3 Oct 2006 08:15:53 +0000 (-0700) Subject: [PATCH] md: define backing_dev_info.congested_fn for raid0 and linear X-Git-Tag: v2.6.19-rc1~242 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26be34dc3a46be983352dd89683db374b0cb73fa;p=pandora-kernel.git [PATCH] md: define backing_dev_info.congested_fn for raid0 and linear Each backing_dev needs to be able to report whether it is congested, either by modulating BDI_*_congested in ->state, or by defining a ->congested_fn. md/raid did neither of these. This patch add a congested_fn which simply checks all component devices to see if they are congested. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed