Date: Wed, 12 Apr 2023 14:34:20 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 270789] zpool list loads zfs.ko, even on systems that don't use zfs Message-ID: <bug-270789-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270789 Bug ID: 270789 Summary: zpool list loads zfs.ko, even on systems that don't use zfs Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: me@rubin55.org I noticed that zfs.ko got loaded unexpectedly on a few small systems I maintain, which don't run ZFS but only have UFS filesystems. Turned out that btop executed "zpool list" unconditionally to find out if t= here are any ZFS pools available. This caused zfs.ko to be loaded, which in turn causes a "zfskern" process to spike all cpu cores at 100% for about 10 seco= nds. I was discussing this with @nimaje on #freebsd on Libera and decided to fil= e a bug. Our thinking was that probably, zpool and/or other zfs utilities should not auto-load zfs.ko at all. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-270789-227>