The only way for it to get better was to get more and more users, merging it into mainline is the best place for that. The kernel maintainers also did put it through fire too, there was some heated exchanges that resulted in fixes before merging. https://www.phoronix.com/news/Bcachefs-Delayed-Linux-6.6
I wouldn't let that keep you that from using ZFS though, it's an incredible battle-tested filesystem and features like native compression, encryption, and block-level backups make it an easy choice over ext4 for any of my systems.
0. Cross-platform (I use ZFS on Linux, FreeBSD, and [previously] macOS).
1. Pervasive check-summing/scrubbing, protection from silent bitrot
2. Low-cost COW snapshots (which can be directly accessed with ~/.zfs/snapshot)
3. Steaming file system state with zfs send / zfs receive (this is super important for backup and replication)
AFAIK, no other FS has all of this.
Been using it happily for years on my workstations, and about a year on my home server mainly because of the licensing issue and a kernel update possibly resulting in the ZFS pool not being imported.
ZFS is still great, but the kernel issue is still problematic on anything other than Ubuntu, where Canonical ships kernels with ZFS built right in.
I doubt Red Hat / Fedora will ever ship it with how legally gunshy they were even before IBM, but there are many distros shipping it or have it an apt/pacman away.
> -f Forces import, even if the pool appears to be potentially active.
> -F Recovery mode for a non-importable pool. Attempt to return the pool to an importable state by discarding the last few transactions. Not all damaged pools can be recovered by using this option. If successful, the data from the discarded transactions is irretrievably lost. This option is ignored if the pool is importable or already imported.
Do those not actually work? There's also zdb(8) if you want to debug a pool, which maybe is useful for recovery, but probably takes a lot of learning to actually be useful. I have about one unclean shutdown per zfs host every 3 years, when its ups battery has worn out and there's a utility power failure, and it's always come back up without intervention, but my write rate is very low.
It's been in the manpage since forever, this one dated 2006 also has -f (but not -F) [2]
[1] https://man.freebsd.org/cgi/man.cgi?query=zpool-import [2] https://man.freebsd.org/cgi/man.cgi?query=zpool&apropos=0&se...