git: bd4f2023bb05 - main - Add missing kstats to dataset kstats
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 14 Aug 2024 22:42:34 UTC
The branch main has been updated by glebius:
URL: https://cgit.FreeBSD.org/src/commit/?id=bd4f2023bb0551448674ad05b524360175776dda
commit bd4f2023bb0551448674ad05b524360175776dda
Author: Paul Dagnelie <pcd@delphix.com>
AuthorDate: 2024-08-14 21:18:46 +0000
Commit: Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2024-08-14 22:42:00 +0000
Add missing kstats to dataset kstats
Reviewed-by: Tony Nguyen <tony.nguyen@delphix.com>
Reviewed-by: Rob Norris <robn@despairlabs.com>
Signed-off-by: Paul Dagnelie <pcd@delphix.com>
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 },