From nobody Wed Aug 14 22:42:34 2024 X-Original-To: dev-commits-src-all@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 4Wkjty4WW8z5Syrq; Wed, 14 Aug 2024 22:42:34 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Wkjty3jtYz4XLH; Wed, 14 Aug 2024 22:42:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723675354; 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=pKALLBVS5wPL9ktNQT/ZwO31KtsGE6TLfEExgXXAWxI=; b=I2rtbAWSHVIv+G24Uxdskf+9hPPTI24dN73MJRmPtg5bRO+rsQazHzior0LphlPuI4nqoV khxgHoDiSZTfe+edysNDhvOBw7mSVbBLU13eKmVMfCXkT1VGkL6Gv/r7ihvhle8it6ftyh dYpgcp1B2ZTYpJJTTxUQZ4a8bft23Hj2qu+q3op++1bXAFcSCQMj0l2IWJUvahA5WEA3pn TWFqrJGsT24/t9aluswZuLCphX3c17SoBIrgAucjjLov6IdhmjDFrmpxuPModHQFc2/P43 W3wEwTiTrap4Ff+IOLMW7g9cXO27eK3DfEbWX6aVagith06eeJAB16iyW1bujw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1723675354; a=rsa-sha256; cv=none; b=ZFc6AkyC4j/yIfqeqFE6U7sfWzLmahCWLedKFFh9n0Sj/q2e5iBm7RuLjhwM1iDMyLpVEe HH2KipbzZ/PTvisgB5xC1Kx4TLdEivXV40XmUnYnnIacje7WIFtpS4h8dzqKqcLX7dH256 Da1V4C5+CFOFFIvCZjgWuvzzPtmlOmNaxTGXgcbMDuAUTBE/h9WT5t/Y1ZMqt33NJNDi/F FbM+En4VdsCsUs1vqqSObuASIbhNQJoa7fLcpvzUwYPTdcqUNzv0qukdUhDwexeTzs7zEc s8u6JKM2oYvyuAn4cbButAD+d3FYZQL+vV2w/usVuqi23ULg2+P8uf9iFisU4A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1723675354; 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=pKALLBVS5wPL9ktNQT/ZwO31KtsGE6TLfEExgXXAWxI=; b=yedj06XEBgFibSRGJvh4dY6uME+4QXYoif0QV25nIPzp9ZMKaG4pWNSb8jJwuuSbND+JFe K9Rke7iRIJsqP1SzWBss7juUVUnHfpcTZfbxr6Giu5IGCyxY1K/A+u9rNKvHi0VkjrihFR /mwIcr3diAbIk6If0xgJej840+wuCfR7cOMJnsUvhtz4STf3fJYycNJkbf0M/nakKEjrmS klhygdtiote5kZuJ0kRUG35Fd++YzrCtSr/cPeRHXwoMGC4RaGdm7neaUoeGrtK8wuDVLy St9JcuHTV+F9P7momC5wKllzhtIN+Y/90+nY50EHNReB4/hOoUHEuzeU719gcA== 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 4Wkjty3K0zz1CJ8; Wed, 14 Aug 2024 22:42:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 47EMgY5f017273; Wed, 14 Aug 2024 22:42:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 47EMgYsf017270; Wed, 14 Aug 2024 22:42:34 GMT (envelope-from git) Date: Wed, 14 Aug 2024 22:42:34 GMT Message-Id: <202408142242.47EMgYsf017270@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: bd4f2023bb05 - main - Add missing kstats to dataset kstats List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bd4f2023bb0551448674ad05b524360175776dda Auto-Submitted: auto-generated The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=bd4f2023bb0551448674ad05b524360175776dda commit bd4f2023bb0551448674ad05b524360175776dda Author: Paul Dagnelie AuthorDate: 2024-08-14 21:18:46 +0000 Commit: Gleb Smirnoff CommitDate: 2024-08-14 22:42:00 +0000 Add missing kstats to dataset kstats Reviewed-by: Tony Nguyen Reviewed-by: Rob Norris Signed-off-by: Paul Dagnelie Closes #16431 (cherry picked from commit 244ea5c4881f92a9d7c1fb341a49b127fda7539d) --- sys/contrib/openzfs/module/zfs/dataset_kstats.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/contrib/openzfs/module/zfs/dataset_kstats.c b/sys/contrib/openzfs/module/zfs/dataset_kstats.c index 2ac058fd2c93..8faa6c2a2528 100644 --- a/sys/contrib/openzfs/module/zfs/dataset_kstats.c +++ b/sys/contrib/openzfs/module/zfs/dataset_kstats.c @@ -40,6 +40,9 @@ static dataset_kstat_values_t empty_dataset_kstats = { { { "zil_commit_count", KSTAT_DATA_UINT64 }, { "zil_commit_writer_count", KSTAT_DATA_UINT64 }, + { "zil_commit_error_count", KSTAT_DATA_UINT64 }, + { "zil_commit_stall_count", KSTAT_DATA_UINT64 }, + { "zil_commit_suspend_count", KSTAT_DATA_UINT64 }, { "zil_itx_count", KSTAT_DATA_UINT64 }, { "zil_itx_indirect_count", KSTAT_DATA_UINT64 }, { "zil_itx_indirect_bytes", KSTAT_DATA_UINT64 },