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
F169149372: D14138.diff
Mon, Aug 31, 2:37 PM
F169142900: D14138.id.diff
Mon, Aug 31, 2:02 PM
Unknown Object (File)
Sun, Aug 30, 10:05 AM
Unknown Object (File)
Fri, Aug 28, 2:48 AM
Unknown Object (File)
Tue, Aug 25, 3:40 PM
Unknown Object (File)
Tue, Aug 25, 7:06 AM
Unknown Object (File)
Tue, Aug 25, 7:04 AM
Unknown Object (File)
Tue, Aug 25, 6: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
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.