Skip to content
Permalink
Browse files

5178 zdb -vvvvv on old-format pool fails in dump_deadlist()

Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Reviewed by: Richard Elling <richard.elling@gmail.com>
Reviewed by: Alek Pinchuk <alek.pinchuk@nexenta.com>
Approved by: Garrett D'Amore <garrett@damore.org>
  • Loading branch information...
ahrens authored and Christopher Siden committed Oct 6, 2014
1 parent 6f834bc commit 90c76c66a2e21307c5370ae1bd3c7145a60c874f
Showing with 5 additions and 0 deletions.
  1. +5 −0 usr/src/cmd/zdb/zdb.c
@@ -1434,6 +1434,11 @@ dump_deadlist(dsl_deadlist_t *dl)
if (dump_opt['d'] < 3)
return;

if (dl->dl_oldfmt) {
dump_bpobj(&dl->dl_bpobj, "old-format deadlist", 0);
return;
}

zdb_nicenum(dl->dl_phys->dl_used, bytes);
zdb_nicenum(dl->dl_phys->dl_comp, comp);
zdb_nicenum(dl->dl_phys->dl_uncomp, uncomp);

0 comments on commit 90c76c6

Please sign in to comment.
You can’t perform that action at this time.