HomeFreeBSD

Skip spacemaps reading in case of pool readonly import

Description

Skip spacemaps reading in case of pool readonly import

The only zdb utility require to read metaslab-related data during
read-only pool import because of spacemaps validation. Add global
variable which will allow zdb read spacemaps in case of readonly
import mode.

Reviewed-by: Serapheim Dimitropoulos <serapheim@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Fedor Uporov <fuporov.vstack@gmail.com>
Closes #9095
Closes #12687

Details

Provenance
Fedor Uporov <60701163+fuporovvStack@users.noreply.github.com>Authored on Nov 9 2021, 8:50 PM
GitHub <noreply@github.com>Committed on Nov 9 2021, 8:50 PM
Parents
rG345196be182a: Single IO issue for raidz writes with skip sector
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGe39fe05b69e4: Skip spacemaps reading in case of pool readonly import (authored by Fedor Uporov <60701163+fuporovvStack@users.noreply.github.com>).Nov 9 2021, 8:50 PM