diff options
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r-- | drivers/md/raid5.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index bee3573ed1bd..9db84c98a41d 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -3332,6 +3332,9 @@ static int raid5_congested(void *data, int bits) | |||
3332 | /* No difference between reads and writes. Just check | 3332 | /* No difference between reads and writes. Just check |
3333 | * how busy the stripe_cache is | 3333 | * how busy the stripe_cache is |
3334 | */ | 3334 | */ |
3335 | |||
3336 | if (mddev_congested(mddev, bits)) | ||
3337 | return 1; | ||
3335 | if (conf->inactive_blocked) | 3338 | if (conf->inactive_blocked) |
3336 | return 1; | 3339 | return 1; |
3337 | if (conf->quiesce) | 3340 | if (conf->quiesce) |