Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280509
b: refs/heads/master
c: 3a6de29
h: refs/heads/master
i:
  280507: d6a0b73
v: v3
  • Loading branch information
NeilBrown committed Dec 22, 2011
1 parent a2c8595 commit 8d5ecde
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7bfec5f35c68121e7b1849f3f4166dd96c8da5b3
refs/heads/master: 3a6de2924af602f9c1b5a5154438c37f2d712dfa
3 changes: 3 additions & 0 deletions trunk/drivers/md/raid5.c
Original file line number Diff line number Diff line change
Expand Up @@ -1796,6 +1796,9 @@ static void raid5_end_write_request(struct bio *bi, int error)
if (!uptodate) {
set_bit(WriteErrorSeen, &rdev->flags);
set_bit(R5_WriteError, &sh->dev[i].flags);
if (!test_and_set_bit(WantReplacement, &rdev->flags))
set_bit(MD_RECOVERY_NEEDED,
&rdev->mddev->recovery);
} else if (is_badblock(rdev, sh->sector,
STRIPE_SECTORS,
&first_bad, &bad_sectors))
Expand Down

0 comments on commit 8d5ecde

Please sign in to comment.