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)
Tue, Oct 21, 11:53 PM
Unknown Object (File)
Sat, Oct 18, 8:39 AM
Unknown Object (File)
Sat, Oct 18, 8:39 AM
Unknown Object (File)
Sat, Oct 18, 8:39 AM
Unknown Object (File)
Fri, Oct 17, 9:12 PM
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
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.