HomeFreeBSD

Use proper tag for spa config refcounts in mmp_write_uberblock()

Description

Use proper tag for spa config refcounts in mmp_write_uberblock()

This allows the spa config refcounts to use tracking in debug builds
without triggering the "No such hold %p on refcount" panic.

Reviewed-by: Olaf Faaland <faaland1@llnl.gov>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Tim Chase <tim@chase2k.com>
Closes #8326

Details

Provenance
Tim Chase <tim@chase2k.com>Authored on Jan 25 2019, 5:50 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 25 2019, 5:50 PM
Parents
rG7646af20ad34: zfs userspace dumps core when used on ZVOLs
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG107dd2b1748b: Use proper tag for spa config refcounts in mmp_write_uberblock() (authored by Tim Chase <tim@chase2k.com>).Jan 25 2019, 5:50 PM