From 244ea5c4881f92a9d7c1fb341a49b127fda7539d Mon Sep 17 00:00:00 2001 From: Paul Dagnelie Date: Wed, 14 Aug 2024 14:18:46 -0700 Subject: [PATCH] Add missing kstats to dataset kstats Reviewed-by: Tony Nguyen Reviewed-by: Rob Norris Signed-off-by: Paul Dagnelie Closes #16431 --- module/zfs/dataset_kstats.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/module/zfs/dataset_kstats.c b/module/zfs/dataset_kstats.c index 2ac058fd2c..8faa6c2a25 100644 --- a/module/zfs/dataset_kstats.c +++ b/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 },