HomeFreeBSD

stand/zfs: Refactor zfs_set_bootenv

Description

stand/zfs: Refactor zfs_set_bootenv

Refactor zfs_set_bootenv to split out the lookup of spa from the
rest. zfs_set_bootenv_spa flushes the benv to the vdevs and updates the
cached benv.

Sponsored by: Netflix
Reviewed by: tsoome, kevans
Differential Revision: https://reviews.freebsd.org/D39410

Details

Provenance
impAuthored on May 1 2023, 3:26 PM
Reviewer
tsoome
Differential Revision
D39410: stand/zfs: Refactor zfs_set_bootenv
Parents
rG6479bd1b7d34: stand/zfs: Refactor zfs_get_bootenv
Branches
Unknown
Tags
Unknown