Re: [PATCH] md: Fix data corruption when a degraded raid5 array isreshaped.

From: Dan Williams
Date: Thu Jan 03 2008 - 18:00:46 EST


On Thu, 2008-01-03 at 15:46 -0700, NeilBrown wrote:
> This patch fixes a fairly serious bug in md/raid5 in 2.6.23 and 24-rc.
> It would be great if it cold get into 23.13 and 24.final.
> Thanks.
> NeilBrown
>
> ### Comments for Changeset
>
> We currently do not wait for the block from the missing device
> to be computed from parity before copying data to the new stripe
> layout.
>
> The change in the raid6 code is not techincally needed as we
> don't delay data block recovery in the same way for raid6 yet.
> But making the change now is safer long-term.
>
> This bug exists in 2.6.23 and 2.6.24-rc
>
> Cc: stable@xxxxxxxxxx
> Cc: Dan Williams <dan.j.williams@xxxxxxxxx>
> Signed-off-by: Neil Brown <neilb@xxxxxxx>
>
Acked-by: Dan Williams <dan.j.williams@xxxxxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/