diff options
author | Matthew Ahrens <[email protected]> | 2015-12-31 16:57:11 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2016-01-05 11:37:43 -0800 |
commit | 074348589b3de871a719173bef1ea4d01ffe66eb (patch) | |
tree | 68a1d4bc1d724aaddad1b131694937ec0522a6c6 /cmd | |
parent | b23ad7f350222ac439a679d99bd8b0aa27604aef (diff) |
Illumos 3604 - zdb should print bpobjs more verbosely (fix zdb hang)
3604 zdb should print bpobjs more verbosely (fix zdb hang)
References:
https://github.com/illumos/illumos-gate/commit/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]>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/zdb/zdb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/zdb/zdb.c b/cmd/zdb/zdb.c index 6b5ec4201..60095f825 100644 --- a/cmd/zdb/zdb.c +++ b/cmd/zdb/zdb.c @@ -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", |