Skip to content

Commit

Permalink
=> 2713: turbo/illumos-5178 - zdb -vvvvv on old-format pool fails in …
Browse files Browse the repository at this point in the history
…dump_deadlist()

5178 zdb -vvvvv on old-format pool fails in dump_deadlist()
Reviewed by: Christopher Siden [email protected]
Reviewed by: George Wilson [email protected]

References:
  https://www.illumos.org/issues/5178
  https://reviews.csiden.org/r/105/

Ported by: Turbo Fredriksson <[email protected]>
  • Loading branch information
ahrens authored and FransUrbo committed Oct 3, 2014
1 parent 3638db7 commit 93166ef
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmd/zdb/zdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1450,6 +1450,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 93166ef

Please sign in to comment.