HomeFreeBSD

zed: Prevent special vdev to be replaced by hot spare

Description

zed: Prevent special vdev to be replaced by hot spare

Special vdevs should not be replaced by a hot spare.
Log vdevs already support this, extending the
functionality for special vdevs.

Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ameer Hamza <ahamza@ixsystems.com>
Closes #14129

Details

Provenance
Ameer Hamza <106930537+ixhamza@users.noreply.github.com>Authored on Nov 4 2022, 6:33 PM
GitHub <noreply@github.com>Committed on Nov 4 2022, 6:33 PM
Parents
rG73b8f700b68d: icp: fix all !ENDBR objtool warnings in x86 Asm code
Branches
Unknown
Tags
Unknown