Skip to content

Commit

Permalink
Illumos 3604 - zdb should print bpobjs more verbosely (fix zdb hang)
Browse files Browse the repository at this point in the history
3604 zdb should print bpobjs more verbosely (fix zdb hang)
References:
  illumos/illumos-gate@7706186
  https://www.illumos.org/issues/3604
  https://lists.freebsd.org/pipermail/svn-src-vendor/2015-August/002411.html
  https://lists.freebsd.org/pipermail/svn-src-head/2015-August/075195.html

Porting notes:
In ZoL "5810 zdb should print details of bpobj" was merged
prior to this change so it must be applied to the new location.

Ported-by: kernelOfTruth [email protected]
Signed-off-by: Brian Behlendorf <[email protected]>
  • Loading branch information
ahrens authored and behlendorf committed Jan 5, 2016
1 parent b23ad7f commit 0743485
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/zdb/zdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1510,6 +1510,7 @@ dump_full_bpobj(bpobj_t *bpo, char *name, int indent)
continue;
}
dump_full_bpobj(&subbpo, "subobj", indent + 1);
bpobj_close(&subbpo);
}
} else {
(void) printf(" %*s: object %llu, %llu blkptrs, %s\n",
Expand Down

0 comments on commit 0743485

Please sign in to comment.