BCache Corruption Issues On Linux 5.0 & GCC 9

So users have been reporting data corruption when using Bcache and a combination of Linux 5.0 + GCC 9.

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.


Bugs have been reported:




The issue seems to be in corruption of metadata on the frontend so if users disable the frontend they should be safe until a fix is released although users are being asked to not upgrade until a patch is out.

So gcc is at fault?
…not actually bcache?

1 Like


Updated title to be more accurate.

1 Like

It’s almost always gcc

1 Like