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 18 2025, 12:02 AM
Unknown Object (File)
Dec 31 2024, 1:26 AM
Unknown Object (File)
Nov 2 2024, 4:06 AM
Unknown Object (File)
Oct 25 2024, 3:47 PM
Unknown Object (File)
Sep 28 2024, 8:57 PM
Unknown Object (File)
Sep 28 2024, 2:37 PM
Unknown Object (File)
Sep 22 2024, 2:06 PM
Unknown Object (File)
Sep 18 2024, 9:57 PM
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.