diff options
author | NeilBrown <neilb@suse.de> | 2011-01-13 20:00:01 +0000 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2011-01-13 20:00:01 +0000 |
commit | 9d357b0787bb3c91835d5e658c3bda178f9ca419 (patch) | |
tree | 48f2c3adc8ae06918ef0523f073291990407fa28 /drivers/md/md.c | |
parent | 4e2d19e46b507018c6ed15f6c081d8f887ae229c (diff) | |
download | linux-stable-9d357b0787bb3c91835d5e658c3bda178f9ca419.tar.gz linux-stable-9d357b0787bb3c91835d5e658c3bda178f9ca419.tar.bz2 linux-stable-9d357b0787bb3c91835d5e658c3bda178f9ca419.zip |
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 <neilb@suse.de>
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions