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

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGca3a675c746e: zed: Prevent special vdev to be replaced by hot spare (authored by Ameer Hamza <106930537+ixhamza@users.noreply.github.com>).Nov 7 2022, 9:36 PM