Linux 5.16's autodefrag BTRFS regression

Linux was inspired by minix but is not a fork of it.
See history of Minix

Linux is an independent OS Unix compatible but not a fork of any Unix.

2 Likes

Welcome to the Opensource world, where any combination of packages can go to a distro. That is the cost of freedom: choices.

There is no wrong or right distro, similar to the principle of nobody can say what is the best Linux distro as there is no common metrics to use.

Regardless of what Linux distro a user chooses, it will always be orders of magnitude less bloated than any default OS pre-installed on computers cough Windows is a model of bloat cough

5 Likes

No not a fork but inspired too different things, Linux is just a kernel nothing more.

Linux (/ˈlinʊks/ (audio speaker iconlisten) LEEN-uuks or /ˈlɪnʊks/ LIN-uuks[11]) is a family of open-source Unix-like operating systems based on the Linux kernel,[12] an operating system kernel first released on September 17, 1991, by Linus Torvalds.[13][14][15] Linux is typically packaged in a Linux distribution.

Linus Torvalds used and appreciated Minix,[25] but his design deviated from the Minix architecture in significant ways, most notably by employing a monolithic kernel instead of a microkernel

3 Likes

Hello there. I believe the autodefrag flag is safe to use after 5.16.5? Should I manually change fstab to bring it back or there are still caveats?

It works fine for me and I haven’t read anything that it was still broken.

EDIT: Juste read in The Register.com on my cell that Linus is saying

some btrfs defrag fixes satnd out “not so much cuz they are enormous, as just cuz they are bigger than most of the rest, which is pretty small.”

Talking about kernel 5.17 stable coming soon, if regressions don’t delay its release.

oh cool. just checked that post. hope the kernel teams are doing great.

I think it's awesome that you guys are so proactive about addressing issues like this. It's definitely better to be safe than sorry when it comes to SSD wear and tear. I'll make sure to keep an eye out for the Garuda System Maintenance 341 prompt, or run the update command myself to apply the hotfix.

1 Like

This issue was addressed a long time ago, so you won't see any prompt. Using defragmentation on Btrfs filesystems is perfectly fine now. The regression was specifically associated with the 5.16 kernel.

2 Likes

Welcome. It's 2023 and the current kernel is 6.2.9. Also I think autodefrag is turned off in /etc/fstab.

2 Likes

Yes indeed. Hotfixes are one of the things that made me switch to Garuda and appreciate the devs.

3 Likes

Please don't necro bump in old topics!