summaryrefslogtreecommitdiffstats
path: root/drivers/md/raid1.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2006-10-03 10:15:53 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-03 17:04:18 +0200
commit26be34dc3a46be983352dd89683db374b0cb73fa (patch)
tree296ed9d019ac56d4a6ea0909f1cf11bdfd08a3e5 /drivers/md/raid1.c
parent[PATCH] md: Improve locking around error handling (diff)
downloadlinux-26be34dc3a46be983352dd89683db374b0cb73fa.tar.xz
linux-26be34dc3a46be983352dd89683db374b0cb73fa.zip
[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 <neilb@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/md/raid1.c')
0 files changed, 0 insertions, 0 deletions