diff options
author | Mark Brown <broonie@kernel.org> | 2014-09-18 10:49:28 -0700 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-09-18 10:49:28 -0700 |
commit | d831fd1b46d04e5c8c8a0431c321578d25852695 (patch) | |
tree | 53a685712d0f0debe66de80c1f0a5e545d0de7e2 /drivers/md/raid5.c | |
parent | c95c4e2a6bb8d44f9a8f59eadd99a9a615c53112 (diff) | |
parent | 339f8f37f0203884332585e38c06536c8477d475 (diff) |
Merge tag 'v3.10.55' into linux-linaro-lsklsk-v3.10-14.09
This is the 3.10.55 stable release
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r-- | drivers/md/raid5.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index 5e3c25d4562c..774f81423d78 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c @@ -3561,6 +3561,8 @@ static void handle_stripe(struct stripe_head *sh) set_bit(R5_Wantwrite, &dev->flags); if (prexor) continue; + if (s.failed > 1) + continue; if (!test_bit(R5_Insync, &dev->flags) || ((i == sh->pd_idx || i == sh->qd_idx) && s.failed == 0)) |