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, Sep 10, 10:13 PM
Unknown Object (File)
Thu, Sep 10, 4:50 PM
Unknown Object (File)
Sun, Sep 6, 10:41 AM
Unknown Object (File)
Sun, Sep 6, 5:28 AM
Unknown Object (File)
Sat, Sep 5, 1:53 PM
Unknown Object (File)
Fri, Sep 4, 11:09 AM
Unknown Object (File)
Thu, Sep 3, 5:52 PM
Unknown Object (File)
Thu, Sep 3, 11:03 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.