Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. Signed-off-by: Tom Caputi <tcaputi@datto.com> TEST_ZTEST_TIMEOUT=7200
- Loading branch information