|
@@ -2111,6 +2111,7 @@ static void raid5_end_write_request(struct bio *bi, int error)
|
|
set_bit(R5_MadeGoodRepl, &sh->dev[i].flags);
|
|
set_bit(R5_MadeGoodRepl, &sh->dev[i].flags);
|
|
} else {
|
|
} else {
|
|
if (!uptodate) {
|
|
if (!uptodate) {
|
|
|
|
+ set_bit(STRIPE_DEGRADED, &sh->state);
|
|
set_bit(WriteErrorSeen, &rdev->flags);
|
|
set_bit(WriteErrorSeen, &rdev->flags);
|
|
set_bit(R5_WriteError, &sh->dev[i].flags);
|
|
set_bit(R5_WriteError, &sh->dev[i].flags);
|
|
if (!test_and_set_bit(WantReplacement, &rdev->flags))
|
|
if (!test_and_set_bit(WantReplacement, &rdev->flags))
|