aboutsummaryrefslogtreecommitdiff
path: root/drivers/md/raid5.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2014-09-17 11:18:13 -0700
committerMark Brown <broonie@kernel.org>2014-09-17 11:18:13 -0700
commit0111d0f13469831266d716e3b50d580a3e25cff9 (patch)
treee2c082e97808f1303190fae3bb79cb8bf359bf2c /drivers/md/raid5.c
parent29a6185d2f78e35b0b36d0ed94bc27d2b71e1ef3 (diff)
parentaf92ba8fd23cb5811d96b833bbb7133efefeb5b9 (diff)
Merge tag 'v3.14.19' into linux-linaro-lsk-v3.14lsk-v3.14-14.09
This is the 3.14.19 stable release
Diffstat (limited to 'drivers/md/raid5.c')
-rw-r--r--drivers/md/raid5.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 16f5c21963db..18cda77b4f79 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -3779,6 +3779,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))