Show Your Support: This site is primarily supported by advertisements. Ads are what have allowed this site to be maintained on a daily basis for the past 18+ years. We do our best to ensure only clean, relevant ads are shown, when any nasty ads are detected, we work to remove them ASAP. If you would like to view the site without ads while still supporting our work, please consider our ad-free Phoronix Premium.
Linux 5.12-rc2 Released Early - A Rare Friday Kernel Due To That Nasty Corruption Issue
This is the data loss issue I was warning Phoronix readers about for more than one week (and even days prior to that on Twitter when beginning to see this recurring issue) that then was pushed into the spotlight this week. With Intel's graphics CI systems being hit by the file-system corruption too, developers quickly jumped in on the issue. The corruption was too much for even e2fck to handle correctly and at least in every system I tested led to all the data being lost.
It was then discovered the issue to be that the swapfile read/write offset was not being correctly handled and that is what was leading to the file-systems getting slaughtered. This also then became clear the issue impacted those relying on swap files with the bug affecting the underlying file-system / partition in use. A fix was merged to correctly handle swapfile read/write offsets.
When Linus Torvalds then became aware of the situation, he warned developers from using Linux 5.12-rc1 as a branch point for their future work and also talked of releasing Linux 5.12-rc2 early for getting the corrected release candidate out there.
Now tonight Linux 5.12-rc2 has been released with this fix in place.
Linus noted that also in Linux 5.12-rc2 is some reorganizing to the IO_uring thread handling code that fixes some fundamental issues while also making the code simpler and smaller as added benefits. The rest of this week's expedited -rc2 release is all quite normal at this point.
Glad that this issue is resolved now and back on to the more fun performance benchmarking as there are a few other Linux 5.12 changes I am currently evaluating. See the Linux 5.12 feature list for other reasons to get excited about this forthcoming kernel.