spa_removal_get_stats
extern int spa_removal_get_stats(spa_t *, pool_removal_stat_t *);
if (spa_removal_get_stats(spa, &prs) == 0) {