diff --git a/drivers/md/raid1.c b/drivers/md/raid1.c index d2378765dc154fa4f738c3d867022d32f3cb2a48..ced076ba560e18a7ac141d3ab8dc7f430ccbc1f4 100644 --- a/drivers/md/raid1.c +++ b/drivers/md/raid1.c @@ -478,6 +478,8 @@ static void raid1_end_write_request(struct bio *bio) if (!test_bit(Faulty, &rdev->flags)) set_bit(R1BIO_WriteError, &r1_bio->state); else { + /* Fail the request */ + set_bit(R1BIO_Degraded, &r1_bio->state); /* Finished with this branch */ r1_bio->bios[mirror] = NULL; to_put = bio;