Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 923745 - >=sys-fs/zfs-kmod-2.2.0 high load with autotrim enabled
Summary: >=sys-fs/zfs-kmod-2.2.0 high load with autotrim enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL: https://github.com/openzfs/zfs/issues...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2024-02-03 20:56 UTC by Chris Henhawke
Modified: 2024-02-06 01:54 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Henhawke 2024-02-03 20:56:42 UTC
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
Comment 1 Larry the Git Cow gentoo-dev 2024-02-06 01:50:51 UTC
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(+)
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-02-06 01:54:24 UTC
Thank you!