From nobody Tue Jun 27 18:36:12 2023 X-Original-To: dev-commits-src-main@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 4QrD1m53jCz4kGlP; Tue, 27 Jun 2023 18:36:12 +0000 (UTC) (envelope-from git@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 4QrD1m4Y2dz4LMH; Tue, 27 Jun 2023 18:36:12 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687890972; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8Y3SvWb9jXON/TycimGNSu5hEjgW3+J3YLM12kaaf6k=; b=hZ6XHMDD/jKAUeKUZP236G1ox4YKb2kiSoevn9Nx1umevxAxUVJ6nisea0UAh7T7OtSDEu 8zgDtFjDpCldcb5Bjz9qfN0a+1AtfPdslSOqbnstpB00TfFKKLzFaUX8qVjEGDXMmUYyNm THmG4TTD9Epi5w/eMVDRRj+qaIipSALL2WmnRGshYjGidOg/cIRnZZq7vajW0GdJNfOFyU GiKi2fZhnbLYDDg/jGF8OhcjVrZ+82yxol9XdTEO8vWsC9hEGYQXeRhuZX/extCae7xMOM +oHkgrkzqXIDZ5oIzMNh0n0OQZXkZguCBjn+XEDs/5BZjUvgOFce5SFpexUZUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687890972; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=8Y3SvWb9jXON/TycimGNSu5hEjgW3+J3YLM12kaaf6k=; b=tWj/+WC4wtgjYOaywrwEWYhwy97+qvrcTjNqRimevAYUHgd2DsQD+PHYjz6JiZTueicgvI ImmQ5fab1Kg48SRwRs70C9jaEDYFAsrQ2E75s6dOqxvntL6dN1lG0YW8Yh1fIRV3idIU2K ijqVIbB0WnU6X9FnFkXDXnmqFysVycK+eCU8MstpETvR783rOIbO1I+c9G/QFGcH5Yj9mT D3qdeMmKWFNfnquGgyXDWeL2QTY/AX1D3VwR/pLC7ihX1qA4yKFGgaEfL13WjaY7gkM5LH Rx3weCwkoIzENhECgzOV3cLjp1eGaBNR0AdrwO/A9+GRZ0BZYg5vUqQg3tGzQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687890972; a=rsa-sha256; cv=none; b=Py+cm1mJSAZtA2xv6tPiUT4IhBvjDMH3+3QfVYHd3ZLr4DGklw+wjva94Cy3vlFXB7VCdr UcZsidxMb2TS96JbYPgcgA4kJ+UvyL0WxEK0UMcfMnaSl6eC8iFI4nmbOdBOD/B4UeAx0b tVJHlBJi3LEa7oiMyVqnc5GO5WClolNIyXW/Jh81hlrX0MB9zH/yuWkM0ZE4entwelLOSE c5KsuHY64eLYjqIynb2TQY4Sax/2xjMamtvT0VrpFfYgpxh7l16MPW3c56Y8rEP7jNrPEd 9uQLlXOTg/EOM7ryFZT8ey6OZw/PR6XFZRBHFYrxwqi1jokjot04/wrbuFEomQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4QrD1m3fm5z12xK; Tue, 27 Jun 2023 18:36:12 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35RIaCjF038597; Tue, 27 Jun 2023 18:36:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35RIaCdm038596; Tue, 27 Jun 2023 18:36:12 GMT (envelope-from git) Date: Tue, 27 Jun 2023 18:36:12 GMT Message-Id: <202306271836.35RIaCdm038596@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: e36b028933b7 - main - systat: Chase 70ea484e3ec5, removing vdev_cache List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e36b028933b72c1ad13144f32ff111b6d52f42df Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=e36b028933b72c1ad13144f32ff111b6d52f42df commit e36b028933b72c1ad13144f32ff111b6d52f42df Author: Cy Schubert AuthorDate: 2023-06-23 05:01:25 +0000 Commit: Cy Schubert CommitDate: 2023-06-27 18:34:29 +0000 systat: Chase 70ea484e3ec5, removing vdev_cache As of 70ea484e3ec5 vdev_cache has been removed. Stop reporting on it. Without this systat reports: sysctl(kstat.zfs.misc.vdev_cache_stats.misses...) failed: No such file or directory Reviewed by: mav Differential Revision: https://reviews.freebsd.org/D40742 --- usr.bin/systat/zarc.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/usr.bin/systat/zarc.c b/usr.bin/systat/zarc.c index 8eb3849a9172..abc5336a6cf7 100644 --- a/usr.bin/systat/zarc.c +++ b/usr.bin/systat/zarc.c @@ -48,7 +48,6 @@ struct zfield { uint64_t arcstats_prefetch_metadata; uint64_t zfetchstats; uint64_t arcstats_l2; - uint64_t vdev_cache_stats; }; static struct zarcstats { @@ -99,7 +98,6 @@ labelzarc(void) L(arcstats.prefetch_metadata); L(zfetchstats); L(arcstats.l2); - L(vdev_cache_stats); #undef L dslabel(12, 0, 18); } @@ -128,7 +126,6 @@ domode(struct zarcstats *delta, struct zarcrates *rate) DO(arcstats_prefetch_metadata); DO(zfetchstats); DO(arcstats_l2); - DO(vdev_cache_stats); DO(arcstats); DO(arcstats_demand_data); DO(arcstats_demand_metadata); @@ -136,7 +133,6 @@ domode(struct zarcstats *delta, struct zarcrates *rate) DO(arcstats_prefetch_metadata); DO(zfetchstats); DO(arcstats_l2); - DO(vdev_cache_stats); #undef DO } @@ -165,7 +161,6 @@ showzarc(void) E(arcstats_prefetch_metadata); E(zfetchstats); E(arcstats_l2); - E(vdev_cache_stats); #undef DO #undef E #undef MISSES @@ -233,10 +228,6 @@ getinfo(struct zarcstats *ls) ls->hits.arcstats_l2); GETSYSCTL("kstat.zfs.misc.arcstats.l2_misses", ls->misses.arcstats_l2); - GETSYSCTL("kstat.zfs.misc.vdev_cache_stats.hits", - ls->hits.vdev_cache_stats); - GETSYSCTL("kstat.zfs.misc.vdev_cache_stats.misses", - ls->misses.vdev_cache_stats); } void