Watch Out For BCache Corruption Issues On Linux 5.0 & GCC 9
Written by Michael Larabel in Linux Storage on 14 May 2019 at 04:46 AM EDT. 61 Comments
LINUX STORAGE --
If you make use of BCache as a Linux block cache so that an SSD cache for a slower HDD, watch out as there is an active corruption bug.

It appears that those employing BCache and running Linux 5.0 or newer when built by GCC 9, there is a nasty corruption bug exposed.


Multiple users are confirming "massive filesystem corruption" including by the stock Fedora 30 kernel which is built by GCC9 and based on Linux 5.0. There is also this related Red Hat bug entry.

The issue doesn't appear to be Fedora-specific but rather they are one of the first distributions on the Linux 5.0 + GCC 9 combination. Fedora is looking at warning users trying to upgrade if they are making use of BCache as "any bcache user upgrading to Fedora30 involuntarily corrupts his storage."

Hopefully this bug will be resolved soon now that there is added attention and urgency, stay tuned.
About The Author
Author picture

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter or contacted via MichaelLarabel.com.

Related Linux Storage News
Popular News This Week