A small bug cropped up on 2.2+ where pools with autotrim enabled cause a high load average. Disabling autotrim and rebooting, or applying this patch fixes the issue until upstream pushes out a new release. https://patch-diff.githubusercontent.com/raw/openzfs/zfs/pull/15781.patch Can we add this to the ebuild? I tested it and it appears to be working okay. Thanks
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41c60e94beea46d932ae78fb7dd388ca6c9a3924 commit 41c60e94beea46d932ae78fb7dd388ca6c9a3924 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-02-06 01:50:03 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-02-06 01:50:03 +0000 sys-fs/zfs-kmod: backport autotrim CPU fix Closes: https://bugs.gentoo.org/923745 Signed-off-by: Sam James <sam@gentoo.org> .../zfs-kmod/files/zfs-kmod-2.2.2-autotrim.patch | 31 +++ sys-fs/zfs-kmod/zfs-kmod-2.2.2-r1.ebuild | 219 +++++++++++++++++++++ 2 files changed, 250 insertions(+)
Thank you!