5 ms·
Apparently the 6.3 kernel made significant changes to some relevant APIs -- I noticed OpenZFS is not released for 6.3 yet. https://github.com/openzfs/zfs/issues
by mholt 3y ago
Apparently the 6.3 kernel made significant changes to some relevant APIs -- I noticed OpenZFS is not released for 6.3 yet. https://github.com/openzfs/zfs/issues/14622 https://github.com/openzfs/zfs/issues/14622
- whoisthis4chan 3y ago> So far, it looks like this will be a major undertaking. Whoever was responsible for the namespace support is going to have to rebase the entire dang thing with alternate code paths for everything, because as of Linux 6.3, they replaced a whole mess of APIs so they either newly accept struct mnt_idmap * instead of struct user_namespace *, or accept the former in addition to the previous parameters. This has far reaching implications, I think. Good luck to whoever attempts the task. ouch
- Volundr 3y agoOuch indeed. I've been wondering why it seems to be taking longer than usual for ZFS to build against the new kernel. Guess I'll be on LTS kernels for awhile yet. For once at least I feel like these changes aren't just the Linux devs breaking ZFS for funsies.
- rincebrain 3y agoSupport is already merged in git tip, a stable release just hasn't been cut with those changes backported yet. I don't think it'd be that problematic to backport, from what I saw, just nobody's done it.
- koverstreet 3y agothe struct mnt_idmap stuff was badly needed, before struct user_namespace was being passed around for two different purposes - it was just asking for confusion and bugs.
- speed_spread 3y agoI keep having this kinky fantasy of a GPL'd Rust ZFS re-implementation. Yeah, I know.
- dralley 3y agoYou'd be more likely to get one for bcachefs. Kent has expressed some interest in Rust although he is (correctly) just focusing on finishing the filesystem first.
- koverstreet 3y agoyep, just waiting on gcc-rust support to land and then we'll be moving our Rust interfaces into the kernel
- dralley 3y agogcc-rs will take a few years, rustc_codegen_gcc is pretty close to being ready to go.
- speed_spread 3y agoI'm curious about which would stabilize more quickly, an all new filesystem or the reimplementation of an existing one in a different language? The reimpl has the advantage of having the original to compare and test with, but the fresh design can use a staged approach. Yet more hypothetical Friday-style questions.
- koverstreet 3y agoIncremental file by file rewrite, for sure.
- Someone 3y agoThere’s a lot of unexplored stuff w.r.t. the GPL license, but I doubt that would legally work for a rewrite of CDDL-licensed ZFS to a GPL license.