[arch-announce] Data corruption on software RAID 0 when discard is used

Arch Linux: Recent news updates: Evangelos Foutras announce at archlinux.org
Fri May 22 21:01:02 UTC 2015

Recent Linux kernels (4.0.2+, LTS 3.14.41+), pushed to the [core] repository in
the past couple of weeks, were affected by a bug that can cause data corruption
on file systems mounted with the `discard` option and residing on software RAID
0 arrays.

The issue has been addressed in the `linux 4.0.4-2` and `linux-lts 3.14.43-2`
updates. Due to the nature of the bug, however, it is likely that data
corruption has already occurred on systems running the aforementioned kernels.
It is strongly advised to verify the integrity of affected file systems using
`fsck` and/or restore their data from known good backups.

For further information please read the [LKML post][1] by Holger Kiehl, the
[related article][2] on Phoronix, as well as the [proposed fix][3] that was
backported to the Arch kernels.

   [1]: https://lkml.org/lkml/2015/5/21/167

   [2]: http://www.phoronix.com/scan.php?page=news_item&px=Linux-4-EXT4-RAID-

   [3]: http://git.neil.brown.name/?p=md.git;a=commitdiff;h=a81157768a00e8cf8a7b

URL: https://www.archlinux.org/news/data-corruption-on-software-raid-0-when-discard-is-used/

More information about the arch-announce mailing list