Hacker News new | ask | show | jobs
by whoisthis4chan 1127 days 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

2 comments

Ouch 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.

Support 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.

the 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.