Kernel 5.15 was released after zfs 2.1.1, as such there's no official stamp of approval on it. But the required changes were added to zfs-kmod, so this works: ZFS_KERNEL_COMPAT_OVERRIDE="5.15" emerge -av1 zfs-kmod # uname -a Linux localhost 5.15.4-gentoo-x86_64 #1 SMP Wed Nov 24 11:53:05 -00 2021 x86_64 AMD Ryzen 9 3900X 12-Core Processor AuthenticAMD GNU/Linux # lsmod | grep zfs zfs 3657728 8 As such I would recommend increasing the allowed kernel versions in zfs-kmod.
it has been requested but we usually try to be a bit conservative here. It's not a tested configuration, so we'd like to avoid adding it. it builds and it may even work, but may not work with some options enabled or some arches. there has been situations there deviation from upstream compat lead to problems before. 2.1.2 release is going to happen _very_ soon, that one will contain 5.15 compat. https://github.com/openzfs/zfs/pull/12718 2.0.7 is soon too and will contain 5.15 support indeed it looks like there's no compat commits in the queue, just general bugfixes. I'll ask around again and test it first before adding it, but hopefully release happens next monday-tuesday and we'll just have a new version.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da56e42dccab2237f2c60640e5392f9953f18fd4 commit da56e42dccab2237f2c60640e5392f9953f18fd4 Author: Georgy Yakovlev <gyakovlev@gentoo.org> AuthorDate: 2021-11-28 19:30:37 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-11-28 19:32:41 +0000 sys-fs/zfs-kmod: enable kernel 5.15 for 2.1.1 Closes: https://bugs.gentoo.org/827293 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> sys-fs/zfs-kmod/{zfs-kmod-2.1.1-r3.ebuild => zfs-kmod-2.1.1-r4.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Note that 2.1.2 plans to have kernel 5.16 compat per https://github.com/openzfs/zfs/pull/12725 so that should be specified in the new ebuilds whenever it gets released.