Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Wait for trimming to finish in metaslab_fini
The new spa_unload() code added as part of "OpenZFS 7303 - dynamic metaslab selection" (4e21fd0) would cause in-flight trim zio to fail. This patch makes sure each metaslab is finished trimming before removing it during metaslab shutdown.
- Loading branch information