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)
Thu, Nov 20, 11:32 PM
Unknown Object (File)
Thu, Nov 20, 11:29 PM
Unknown Object (File)
Thu, Nov 20, 11:28 PM
Unknown Object (File)
Thu, Nov 20, 11:24 PM
Unknown Object (File)
Fri, Nov 7, 3:30 AM
Unknown Object (File)
Oct 21 2025, 11:53 PM
Unknown Object (File)
Oct 18 2025, 8:39 AM
Unknown Object (File)
Oct 18 2025, 8:39 AM
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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 14684
Build 14811: arc lint + arc unit

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.