News for hackers. Stuff that matters.
Re:Linux: Ext4 data corruption in 6.1.64-1 by megous on Sunday December 10, 2023 @01:51AM (#38589678)
It's not an extfs bug, it's a "stable kernel" process bug. Linux master branch/mainline was never affected by this bug. Someone cherry-picked a wrong patch into stable without realizing the consequences, and it was caught too late.

Stable process is cherry pincking thousands to tens of thousands of patches from the current master kernel branch into years old kernel branches, spraying tens of thousands of emails at original patch authors, hoping (With some limited testing on top) that the resulting frankenkernels will still work and all these patches will have satisfied dependencies applied, too.

I don't trust this process very much, and just run the latest stable branch for the latest kernel release, only. Staying with older stable release branch for too long seems too risky, unless you're some bigcorp that can afford the testing required, or you're running some highly mainstream setup that is probably covered by tests done by the stable team, and testing teams they cooperate with.

Re:Linux: Ext4 data corruption in 6.1.64-1 by uselpa on Sunday December 10, 2023 @03:11AM (#38590004)
I understand your reasoning, but running a popular « stable » distro in a popular configuration will help detect bugs much faster. I’m not sure this would be the case for the very latest kernel.
Re:Linux: Ext4 data corruption in 6.1.64-1 by megous on Sunday December 10, 2023 @05:17AM (#38590572)
A bunch of popular distros run the latest kernel.
Re:Linux: Ext4 data corruption in 6.1.64-1 by keep_reading on Sunday December 10, 2023 @10:16AM (#38592044)
Nobody ships vanilla kernels. Sure the reference implementation was unaffected but users never experience vanilla Linux kernels
Re:Linux: Ext4 data corruption in 6.1.64-1 by dezgeg on Sunday December 10, 2023 @11:04AM (#38592441)
Distros like Arch and NixOS use the vanilla kernel with very small amount (single digits) of patches on top. For the purposes of ext4, it's very likely to be as-is with vanilla. (I am counting the official linux-stable releases from kernel.org as 'vanilla' here.)
Re:Linux: Ext4 data corruption in 6.1.64-1 by megous on Sunday December 10, 2023 @11:52AM (#38592879)
Fedora, openSUSE tumbleweed, Manjaro,...
Re:Linux: Ext4 data corruption in 6.1.64-1 by keep_reading on Sunday December 10, 2023 @04:30PM (#38595250)
> Fedora

You know it's not that hard to debunk this:

> You'll then be left with a kernel-6.X.? directory, containing both an unpatched 'vanilla-6.X.?' dir, and a linux-6.X.?-noarch hardlinked dir which has the Fedora patches applied. [1]

WOW fedora patches! Sounds to me like they're not shipping vanilla.

[1] https://fedoraproject.org/wiki/Kernel

Re:Linux: Ext4 data corruption in 6.1.64-1 by megous on Monday December 11, 2023 @07:19AM (#38599952)
That's not what my original argument was about. So not sure what you're debunking.

I have problem with backaptching 10s of thousands of changes to years old kernels by people who don't really understand the changes or consequences, like 5.4, 5.15, 6.1 or whatever. Not patching up 6.6 or 6.7 kernel with a few out of tree patches, where they mostly understand what they're doing and can test the limited set of changes they're applying.

Re:Linux: Ext4 data corruption in 6.1.64-1 by keep_reading on Wednesday December 13, 2023 @02:29PM (#38632923)
If they change anything it's no longer vanilla. Anything at all. No matter how insignificant.
Re:Linux: Ext4 data corruption in 6.1.64-1 by keep_reading on Sunday December 10, 2023 @04:33PM (#38595267)
Even a single patch to something like default kernel config parameters means it's not vanilla. I'm not arguing that there are significant patches, only that nobody seems to ship a true vanilla kernel.
Re:Linux: Ext4 data corruption in 6.1.64-1 by jcalvinowens on Sunday December 10, 2023 @09:29PM (#38597014)
> Even a single patch to something like default kernel config parameters means it's not vanilla.

Anybody who cares that much is very likely already compiling their own kernels (I speak for myself here). It doesn't make sense for distros to do the extra work to support it.

Just expanding on this a bit: my Debian laptop has a Kconfig with modules disabled that only includes the exact set of drivers it needs. It takes ten minutes to rebuild on the laptop when I pull from git. Even if Debian did all the work to let me automatically install the latest vanilla kernel... I'd still build it myself.