[Bug 280762] zfs: can't re-use a leaf: kstat.zfs.zroot.dataset.objset.zil_itx_metaslab_slog_alloc

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Aug 2024 21:09:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280762

            Bug ID: 280762
           Summary: zfs: can't re-use a leaf:
                    kstat.zfs.zroot.dataset.objset.zil_itx_metaslab_slog_a
                    lloc
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: kenrap@kennethraplee.com

I started noticing these weird "can't re-use a leaf kstat.zfs.zroot.dataset"
sysctl warnings as shown below, during a reboot from updating my CURRENT build
to
https://cgit.freebsd.org/src/commit/?id=5ab6ed93cd3680f8b69dd4d05823f4740a2bdef9.

This cause might be related to the most recent openzfs merge that's three
commits behind what I'm using:
https://cgit.freebsd.org/src/commit/?id=ce4dcb97ca433b2a2f03fbae957dae0ff16f6f51.

```
Trying to mount root from zfs:zroot/ROOT/current-default []...
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x1835c.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x1835c.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x1835c.zil_itx_metaslab_slog_alloc)!
uhub0: 4 ports with 4 removable, self powered
uhub2: 4 ports with 4 removable, self powered
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x36.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x36.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x36.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x30b.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x30b.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x30b.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x8bb.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x8bb.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x8bb.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x404.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x404.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x404.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xe55.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xe55.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xe55.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x503.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x503.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x503.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xbc.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xbc.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xbc.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x383.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x383.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x383.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x111.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x111.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x111.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x9ba.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x9ba.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x9ba.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x521.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x521.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x521.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x583.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x583.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x583.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x304.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x304.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x304.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x177.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x177.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x177.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x95d.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x95d.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x95d.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xbdb.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xbdb.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xbdb.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x94b.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x94b.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x94b.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x58b.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x58b.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x58b.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x17f.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x17f.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x17f.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xce6.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xce6.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xce6.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x240.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x240.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x240.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xda.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xda.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0xda.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x557.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x557.zil_itx_metaslab_slog_alloc)!
sysctl_warn_reuse: can't re-use a leaf
(kstat.zfs.zroot.dataset.objset-0x557.zil_itx_metaslab_slog_alloc)!
```

-- 
You are receiving this mail because:
You are the assignee for the bug.