Whenever zil_kstat_values_t in zil.h is extended, empty_dataset_kstats
in dataset_kstats.c needs to be extended appropriately.

Signed-off-by:	Gleb Smirnoff <glebius@FreeBSD.org>
Closes #16447
This commit is contained in:
Gleb Smirnoff 2024-08-14 13:18:09 -07:00
parent 2633075e09
commit e40ae67eb8
1 changed files with 3 additions and 0 deletions

View File

@ -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 },