Skip to content

Commit

Permalink
5178 zdb -vvvvv on old-format pool fails in dump_deadlist()
Browse files Browse the repository at this point in the history
Reviewed by: Christopher Siden <[email protected]>
Reviewed by: George Wilson <[email protected]>
Reviewed by: Richard Lowe <[email protected]>
Reviewed by: Saso Kiselkov <[email protected]>
Reviewed by: Richard Elling <[email protected]>
Reviewed by: Alek Pinchuk <[email protected]>
Approved by: Garrett D'Amore <[email protected]>
  • Loading branch information
ahrens authored and Christopher Siden committed Oct 6, 2014
1 parent 6f834bc commit 90c76c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions usr/src/cmd/zdb/zdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 90c76c6

Please sign in to comment.