42 points · by eklitzke · 3y ago · 34 comments
I keep an eye on Kernel developments, and have a particular interest in filesystems. Bcachefs has a lot to bring to the table and Kent is a brilliant person, but I can't recall the last time I've seen so much pushback and conflict.
Here's to hoping the adults can set aside whatever differences they have and come together in the interest of the community.
Linus looks like he's back to his old ways. I should take a closer look at illumos.
Here's this big project that Kent's been wanting to merge for ages and very basic steps that any Kernel developer would be aware of (like sending it to linux-next first) have not been done.
Yes Kent isn't following the right process but he made a more fundamental mistake: getting involved with Linux development at all.
I hate building external modules, ZFS has never seemed worth the trouble to me. Why do you care so much?
1. If you are writing with the `single` profile. It always writes to the one with the most space. This means that adding a new disk to a system will hotspot writes to that disk. Alternatively you can rebalance and it will make it so that all disks have the same space available which will basically hotspot reads. Most sane filesystems will do some sort of balancing.
2. If you are writing to the `RAID0` (striping with no redundancy) it will write across all disks and fill them up equally. When one disk fills it will be dropped out and the other disks will be hotspotted.
3. If you read from a replicated profile it picks the disk based on your process ID rather than any sort of intelligent metric like queue length or typical latency.
4. Replication profile can only be set on the filesystem level. bcachefs can set replication profile on the per-file or recursively at the directory level.
I mean nothing is absolutely terrible. But it is just shockingly basic for many things.
https://arstechnica.com/gadgets/2021/09/examining-btrfs-linu...
I have had Btrfs collapse and corrupt itself more in the last half a decade than all other Linux filesystems put together this century.
If you fill the volume, it will fail, and its own repair tools do not work and will damage it further. I would not and do not trust it.
Your anecdotal evidence about data loss is meaningless. I can counter with my own anecdote: I've had zero data loss with btrfs running pre-release RC kernels on my laptops for over a decade. I fill up disks a lot.
Realistically, that's a basic requirement for any filesystem. I've not had a filesystem do that in my two plus decades of linux usage. That means I'm just not using it. Restored to ZFS from backup and couldn't be happier. ZFS works; is extraordinarily stable; and hasn't lost data for me yet.
ZFS is the only other alternative to bcachefs (a rock-solid one, albeit not license-compatible), which is why it's mentioned.
Its not license incompatible, many, many, many organizations have shipped ZFS as part of the distribution and absolutely nobody ever sued or even threatened sue over the license.
Linus didn't want to merge it because of some vague fear of Oracle and how they sued over Java, but that was about API not license.
What Linus should have done is to simple upstream it. If some big company (IBM or whoever) wants to not 'risk' ZFS then they should damn well do their own work and remove it. There is no reason that the waste majority of the Linux community should be denied great features (ZFS, DTrace and friends) over some vague fear of Oracle.
This licensing issue is the reason bcachefs exists.