From nobody Fri Sep 24 08:43:23 2021 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 56A0C17C3F3B for ; Fri, 24 Sep 2021 08:43:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HG5Cb1jwFz4YXT for ; Fri, 24 Sep 2021 08:43:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1AEB513B72 for ; Fri, 24 Sep 2021 08:43:23 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 18O8hNQm077139 for ; Fri, 24 Sep 2021 08:43:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 18O8hNgY077138 for bugs@FreeBSD.org; Fri, 24 Sep 2021 08:43:23 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 258704] kstat.zfs.zroot.misc.iostats all zeros Date: Fri, 24 Sep 2021 08:43:23 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: michal@maximale.sk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258704 Bug ID: 258704 Summary: kstat.zfs.zroot.misc.iostats all zeros Product: Base System Version: 13.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: michal@maximale.sk Hi, Why are all values under kstat.zfs.zroot.misc.iostats 0? Does this mean that trim is not working for my zroot pool? Or is it just misreported?=20 # zpool status zroot pool: zroot state: ONLINE scan: scrub repaired 0B in 00:01:31 with 0 errors on Fri Sep 24 03:49:20 = 2021 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ada0p3 ONLINE 0 0 0 ada1p3 ONLINE 0 0 0 errors: No known data errors # camcontrol identify ada0 | grep -i trim Data Set Management (DSM/TRIM) yes # camcontrol identify ada1 | grep -i trim Data Set Management (DSM/TRIM) yes # sysctl kstat.zfs.zroot.misc.iostats kstat.zfs.zroot.misc.iostats.simple_trim_bytes_failed: 0 kstat.zfs.zroot.misc.iostats.simple_trim_extents_failed: 0 kstat.zfs.zroot.misc.iostats.simple_trim_bytes_skipped: 0 kstat.zfs.zroot.misc.iostats.simple_trim_extents_skipped: 0 kstat.zfs.zroot.misc.iostats.simple_trim_bytes_written: 0 kstat.zfs.zroot.misc.iostats.simple_trim_extents_written: 0 kstat.zfs.zroot.misc.iostats.autotrim_bytes_failed: 0 kstat.zfs.zroot.misc.iostats.autotrim_extents_failed: 0 kstat.zfs.zroot.misc.iostats.autotrim_bytes_skipped: 0 kstat.zfs.zroot.misc.iostats.autotrim_extents_skipped: 0 kstat.zfs.zroot.misc.iostats.autotrim_bytes_written: 0 kstat.zfs.zroot.misc.iostats.autotrim_extents_written: 0 kstat.zfs.zroot.misc.iostats.trim_bytes_failed: 0 kstat.zfs.zroot.misc.iostats.trim_extents_failed: 0 kstat.zfs.zroot.misc.iostats.trim_bytes_skipped: 0 kstat.zfs.zroot.misc.iostats.trim_extents_skipped: 0 kstat.zfs.zroot.misc.iostats.trim_bytes_written: 0 kstat.zfs.zroot.misc.iostats.trim_extents_written: 0 thanks Michal --=20 You are receiving this mail because: You are the assignee for the bug.=