summaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2019-03-12 10:39:47 -0700
committerGitHub <[email protected]>2019-03-12 10:39:47 -0700
commitdd785b5b86bbb7ebbfe1d22668f3dd27c5704994 (patch)
treed9508260a8382982db0f2a43f589ab5453eaedf1 /include/sys
parent3d31aad83e6420d7a2f661ca077afdac13f50b77 (diff)
Fix vdev_initialize_restart / removal race
Resolve a vdev_initialize crash uncovered by ztest. Similar to when starting a new initialization verify that a removal is not in progress. Additionally, do not restart when the thread already exists. This check is now congruent with the POOL_INITIALIZE_DO handling in spa_vdev_initialize_impl(). Reviewed-by: Tom Caputi <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes #8477
Diffstat (limited to 'include/sys')
0 files changed, 0 insertions, 0 deletions