[arch-general] RAID-0 kernel bug

Francis Gerund ranrund at gmail.com
Sat May 23 01:12:26 UTC 2015


"Data corruption on software RAID 0 when discard is used


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 by Holger Kiehl, the
related article on Phoronix, as well as the proposed fix that was
backported to the Arch kernels."

Am I correct to assume that this would ONLY affect systems that include a
RAID-0 filesystem, and that it would not affect other ext4 systems using
SSDs with "discard" in /etc/fstab?

More information about the arch-general mailing list