]> git.proxmox.com Git - mirror_zfs.git/commit - cmd/zdb/zdb.c
Teach zdb about DMU_OT_ERROR_LOG objects
authorGeorge Amanakis <gamanakis@gmail.com>
Thu, 2 Feb 2023 23:17:37 +0000 (00:17 +0100)
committerGitHub <noreply@github.com>
Thu, 2 Feb 2023 23:17:37 +0000 (15:17 -0800)
commitac2038a19c3b7e9ba913a850e05ba773725bd25d
treee03fea9d37b65056b2960999de72020a22f4f701
parent326f1e3d88dab158b8aad8c49b96fa292b5912e5
Teach zdb about DMU_OT_ERROR_LOG objects

With the persistent error log feature we need to account for
spa_errlog_{scrub, last} containing mappings to other error log objects,
which need to be marked as in-use as well.

Reviewed-by: Matthew Ahrens <mahrens@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: George Amanakis <gamanakis@gmail.com>
Closes #14442
Closes #14434
cmd/zdb/zdb.c