Page MenuHomeFreeBSD

Fix "zpool add" crash when a replacing vdev has a spare child
ClosedPublic

Authored by asomers on Jan 30 2018, 9:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 3 2025, 5:04 AM
Unknown Object (File)
Sep 1 2025, 1:25 AM
Unknown Object (File)
Aug 15 2025, 4:33 AM
Unknown Object (File)
Aug 14 2025, 2:43 PM
Unknown Object (File)
Aug 9 2025, 3:47 AM
Unknown Object (File)
Jul 2 2025, 4:02 AM
Unknown Object (File)
Jun 30 2025, 6:44 AM
Unknown Object (File)
Jun 26 2025, 1:59 PM
Subscribers

Details

Summary

Fix "zpool add" crash when a replacing vdev has a spare child

Fix an assertion in zpool that causes a crash when running any "zpool add"
command on a spare that contains a replacing vdev with a spare child.

PR: 225546

Test Plan

Added zpool_add_010_pos to the ZFS test suite

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 9 2018, 4:09 PM
This revision was automatically updated to reflect the committed changes.