[Bug 1364091] Re: Possible RAID-6 corruption

swmike 1364091 at bugs.launchpad.net
Mon Sep 22 06:45:43 UTC 2014


diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c
index 6b2d615d1094..183588b11fc1 100644
--- a/drivers/md/raid5.c
+++ b/drivers/md/raid5.c
@@ -3817,6 +3817,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))

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mdadm in Ubuntu.
https://bugs.launchpad.net/bugs/1364091

Title:
  Possible RAID-6 corruption

Status in “linux-kernel” package in Ubuntu:
  Confirmed
Status in “mdadm” package in Ubuntu:
  Confirmed

Bug description:
  It seems there's a bug in newer kernels that may lead to corruption on
  RAID-6. There's a fix, too

  http://lwn.net/Articles/608896/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-kernel/+bug/1364091/+subscriptions



More information about the foundations-bugs mailing list