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)
Jan 13 2024, 3:40 AM
Unknown Object (File)
Dec 20 2023, 5:47 AM
Unknown Object (File)
Oct 9 2023, 11:10 PM
Unknown Object (File)
Jun 11 2023, 10:14 AM
Unknown Object (File)
Mar 15 2023, 1:59 PM
Unknown Object (File)
Mar 15 2023, 1:58 PM
Unknown Object (File)
Mar 15 2023, 1:53 PM
Unknown Object (File)
Feb 28 2023, 9:58 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.