HomeFreeBSD

Fix sequential resilver drive failure race condition

Description

Fix sequential resilver drive failure race condition

This patch handles the race condition on simultaneous failure of
2 drives, which misses the vdev_rebuild_reset_wanted signal in
vdev_rebuild_thread. We retry to catch this inside the
vdev_rebuild_complete_sync function.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Richard Yao <richard.yao@alumni.stonybrook.edu>
Reviewed-by: Dipak Ghosh <dipak.ghosh@hpe.com>
Reviewed-by: Akash B <akash-b@hpe.com>
Signed-off-by: Samuel Wycliffe J <samwyc@hpe.com>
Closes #14041
Closes #14050

Details

Provenance
samwyc <115969550+samwyc@users.noreply.github.com>Authored on Oct 19 2022, 10:48 PM
GitHub <noreply@github.com>Committed on Oct 19 2022, 10:48 PM
Parents
rG2a068a1394d1: Support idmapped mount
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rG2be0a124afea: Fix sequential resilver drive failure race condition (authored by samwyc <115969550+samwyc@users.noreply.github.com>).Oct 19 2022, 10:48 PM