diff options
author | Fedor Uporov <[email protected]> | 2021-11-09 12:50:39 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2021-11-09 12:50:39 -0800 |
commit | e39fe05b69e4d78311c5c25a8dc21b0b1dca2409 (patch) | |
tree | 4390492925ff2e64cefbcd073fe12f4333b95980 /cmd/zpool | |
parent | 345196be182ad6efe07ea21372117243ba6d7910 (diff) |
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 <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Fedor Uporov <[email protected]>
Closes #9095
Closes #12687
Diffstat (limited to 'cmd/zpool')
0 files changed, 0 insertions, 0 deletions