Skip to content

Commit 0743485

Browse files
ahrensbehlendorf
authored andcommitted
Illumos 3604 - zdb should print bpobjs more verbosely (fix zdb hang)
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 kerneloftruth@gmail.com Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
1 parent b23ad7f commit 0743485

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cmd/zdb/zdb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1510,6 +1510,7 @@ dump_full_bpobj(bpobj_t *bpo, char *name, int indent)
15101510
continue;
15111511
}
15121512
dump_full_bpobj(&subbpo, "subobj", indent + 1);
1513+
bpobj_close(&subbpo);
15131514
}
15141515
} else {
15151516
(void) printf(" %*s: object %llu, %llu blkptrs, %s\n",

0 commit comments

Comments
 (0)