zfs/cmd/zdb
Fedor Uporov e39fe05b69
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
2021-11-09 12:50:39 -08:00
..
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am cppcheck: integrete cppcheck 2021-01-26 16:12:26 -08:00
zdb.c Skip spacemaps reading in case of pool readonly import 2021-11-09 12:50:39 -08:00
zdb.h OpenZFS 8081 - Compiler warnings in zdb 2017-10-27 12:46:35 -07:00
zdb_il.c zil_parse: make callback parameters const 2020-10-09 09:34:54 -07:00