zfs: backport linux 5.8 compatibility patch to 0.8.4 release #94377
Adding this patch makes zfs compile against 5.8-rc7 kernels.
Upstream PR (merged): openzfs/zfs#10422
Motivation for this change
I am trying to build a 5.8 kernel and zfs did not build.
This will probably turn into an issue once 5.8 is released and promoted from
I have build a small nixos iso image with this nixpkgs version and successfully created a zfs backed mount with the updated kernel package (kernel 5.4.54).
I have then switched the kernel to the
Adding this patch makes zfs compile against 5.8-rc7 kernels. Upstream PR: openzfs/zfs#10422 Modifications: - spl_kvmalloc does not exists in zfs 0.8.4 - related code was dropped.