From: NeilBrown Date: Thu, 13 Jan 2011 20:00:01 +0000 (+0000) Subject: dm: introduce target callbacks and congestion callback X-Git-Tag: v2.6.38-rc1~221^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9d357b0787bb3c91835d5e658c3bda178f9ca419;p=pandora-kernel.git dm: introduce target callbacks and congestion callback DM currently implements congestion checking by checking on congestion in each component device. For raid456 we need to also check if the stripe cache is congested. Add per-target congestion checker callback support. Extending the target_callbacks structure with additional callback functions allows for establishing multiple callbacks per-target (a callback is also needed for unplug). Cc: linux-raid@vger.kernel.org Signed-off-by: NeilBrown Signed-off-by: Jonathan Brassow Signed-off-by: Mike Snitzer Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed