Please sign in to comment.
Fix waiting in ztest_device_removal()
spa->spa_vdev_removal is created in a sync task that is initiated via dsl_sync_task_nowait(). Since the task may not run before spa_vdev_remove() returns, we must wait at least 1 txg to ensure that the removal struct has been created. Reviewed-by: Brian Behlendorf <email@example.com> Reviewed-by: Serapheim Dimitropoulos <firstname.lastname@example.org> Reviewed-by: Matthew Ahrens <email@example.com> Signed-off-by: Tom Caputi <firstname.lastname@example.org> Closes #8010
- Loading branch information...