HomeFreeBSD

Expose zpool guids through kstats

Description

Expose zpool guids through kstats

There are times when end-users may wish to have
a fast and convenient method to get zpool guid
without having to use libzfs. This commit
exposes the zpool guid via kstats in similar
manner to the zpool state.

Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Andrew Walker <awalker@ixsystems.com>
Closes #13466

Details

Provenance
andrewAuthored on May 18 2022, 5:25 PM
GitHub <noreply@github.com>Committed on May 18 2022, 5:25 PM
Parents
rGc0cf6ed6792e: Fix compiler warnings about zero-length arrays in inline bitops
Branches
Unknown
Tags
Unknown

Event Timeline