HomeFreeBSD

zed: Fix zed ASSERT on slot power cycle

Description

zed: Fix zed ASSERT on slot power cycle

We would see zed assert on one of our systems if we powered off a
slot. Further examination showed zfs_retire_recv() was reporting
a GUID of 0, which in turn would return a NULL nvlist. Add
in a check for a zero GUID.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tony Hutter <hutter2@llnl.gov>
Closes #15084

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Jul 21 2023, 6:46 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 24 2023, 11:43 PM
Parents
rGe01e3a4e123c: Fix raw receive with different indirect block size.
Branches
Unknown
Tags
Unknown