aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/multipath.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/md/multipath.c')
-rw-r--r--drivers/md/multipath.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/multipath.c b/drivers/md/multipath.c
index 94c21c11b9bc..dcbf9d35928b 100644
--- a/drivers/md/multipath.c
+++ b/drivers/md/multipath.c
@@ -199,6 +199,9 @@ static int multipath_congested(void *data, int bits)
199 multipath_conf_t *conf = mddev->private; 199 multipath_conf_t *conf = mddev->private;
200 int i, ret = 0; 200 int i, ret = 0;
201 201
202 if (mddev_congested(mddev, bits))
203 return 1;
204
202 rcu_read_lock(); 205 rcu_read_lock();
203 for (i = 0; i < mddev->raid_disks ; i++) { 206 for (i = 0; i < mddev->raid_disks ; i++) {
204 mdk_rdev_t *rdev = rcu_dereference(conf->multipaths[i].rdev); 207 mdk_rdev_t *rdev = rcu_dereference(conf->multipaths[i].rdev);