HomeFreeBSD

Cancel in-progress rebuilds when we finish removal

Description

Cancel in-progress rebuilds when we finish removal

This issue was discovered by zloop runs. When a mirror or other
redundant top-level vdev has a disk failure, and the disk is replaced,
the rebuild process occurs. A removal can happen while this is in
progress. If the removal completes before the rebuild does, the
removal process will try to free the vdev that is still in use.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Paul Dagnelie <pcd@delphix.com>
Closes #13498

Details

Provenance
pcd_delphix.comAuthored on May 25 2022, 4:25 PM
GitHub <noreply@github.com>Committed on May 25 2022, 4:25 PM
Parents
rGb37093a188d9: rpm: Keep debug symbols if configured with '--enable-debuginfo'
Branches
Unknown
Tags
Unknown