HomeFreeBSD

Add zfs_prepare_disk script for disk firmware install

Description

Add zfs_prepare_disk script for disk firmware install

Have libzfs call a special zfs_prepare_disk script before a disk is
included into the pool. The user can edit this script to add things
like a disk firmware update or a disk health check. Use of the script
is totally optional. See the zfs_prepare_disk manpage for full details.

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

Details

Provenance
Tony Hutter <hutter2@llnl.gov>Authored on Sep 21 2023, 3:36 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Feb 13 2024, 10:22 PM
Parents
rG35252ae0fd5e: Linux 6.8 compat: replace MAX_ORDER define
Branches
Unknown
Tags
Unknown