Re:GNU/Hurd strikes back: How to use the legendary OS in a (...
by midoridensha on Tuesday August 08, 2023 @12:40AM
(#37044565)
Don't forget: buggy filesystem code can easily lead to catastrophic data loss, which ruins your filesystem's reputation.
Lines of code isn't the only important metric. A project with a smaller number of LoC can take a long time to fully test and debug and validate.
Re:GNU/Hurd strikes back: How to use the legendary OS in a (...
by Foobar8568 on Tuesday August 08, 2023 @01:39AM
(#37044921)
Hammer2 comes to mind as well..
Re:GNU/Hurd strikes back: How to use the legendary OS in a (...
by effie on Tuesday August 08, 2023 @11:51PM
(#37058514)
Does it run on Linux or ordinary BSD? Does any company use it?
Re:GNU/Hurd strikes back: How to use the legendary OS in a (...
by spookie on Tuesday August 08, 2023 @11:23AM
(#37050370)
I'm sorry, as I keep hearing these criticisms around BTRFS, I still don't know why.
What is so messy about it?
Honest question
Re:GNU/Hurd strikes back: How to use the legendary OS in a (...
by janneke on Tuesday August 08, 2023 @12:11PM
(#37051284)
Have you tried reading the code? It's twice as large (107KLOC) as ext4 (45KLOC), where ext4 is viewed as a natural evolution of ext2 (7KLOC).
45KLOC of C code already sounds really scary to me, although yeah, journaling is really nice to have.
Re:GNU/Hurd strikes back: How to use the legendary OS in a (...
by spookie on Tuesday August 08, 2023 @06:36PM
(#37056407)
Yes, that's scary. Understandable, but it does come with a lot of functionality that's nice to have no?
Re:GNU/Hurd strikes back: How to use the legendary OS in a (...
by effie on Tuesday August 08, 2023 @11:41PM
(#37058451)
It's "perpetually half-finished". Bad track record with reliability and loss of data, lots of stories on the internet. It perhaps got better, but RAID5/RAID6 for metadata (standard use of disks) still not oficially recommended and thus standard RAID5/RAID6 is not reliable. Also, look at some FS benchmarks - BTRFS is still much slower than EXT/XFS, and slower than ZFS.
About the only class of scenarious to use BTRFS instead of ZFS is if you want the features, do not need RAID5/6, require support by Linux distributor/kernel developers or for some other (hard to think of) reason you can't use ZFS.
Re:GNU/Hurd strikes back: How to use the legendary OS in a (...
by spookie on Wednesday August 09, 2023 @03:01AM
(#37059510)
Thanks, that makes sense. I should look more into it
Re:GNU/Hurd strikes back: How to use the legendary OS in a (...
by effie on Friday August 11, 2023 @11:27PM
(#37096726)
No problem. For more, this looks like a good intro
https://arstechnica.com/gadgets/2021/09/examining-btrfs-linu...
Re:GNU/Hurd strikes back: How to use the legendary OS in a (...
by JohnFen on Tuesday August 08, 2023 @11:31AM
(#37050510)
Filesystems aren't complex to implement -- even complex filesystems.
What's harder is making them as robust as they need to be for practical daily use. Doing that is a matter of comprehensive testing, though. With filesystems, the hard part is QA, not implementation.
When people tried to do a full-featured filesystem, with a remarkable exception (ZFS) it's either a disappointing unfinished mess (btrfs) or a promising, but a long-term project taking years (bcachefs).
Making a filesystem with strong support of important features is an extremely demanding project.