Re: Nature of ext4 corruption fixed by recent patch?

From: Josh Triplett
Date: Wed May 20 2015 - 23:24:58 EST


On Wed, May 20, 2015 at 10:23:22PM -0300, Henrique de Moraes Holschuh wrote:
> On Wed, 20 May 2015, josh@xxxxxxxxxxxxxxxx wrote:
> > md-based RAID0, on top of a pair of SSDs.
>
> Might this be it? It was mentioned in another, more recent thread about
> data loss involving md-raid0 and ssds...
>
> https://bugzilla.kernel.org/show_bug.cgi?id=98501

That looks extremely likely, particularly since I do have the "discard"
option enabled. And discarding the wrong blocks seems entirely
consistent with the symptoms I've observed.

Thanks! I'll disable discard as a short-term workaround until that
change goes into the Debian kernel.

- Josh Triplett
--
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/