mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 03:19:35 +03:00
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 kerneloftruth@gmail.com Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
This commit is contained in:
parent
b23ad7f350
commit
074348589b
@ -1510,6 +1510,7 @@ dump_full_bpobj(bpobj_t *bpo, char *name, int indent)
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
dump_full_bpobj(&subbpo, "subobj", indent + 1);
|
dump_full_bpobj(&subbpo, "subobj", indent + 1);
|
||||||
|
bpobj_close(&subbpo);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
(void) printf(" %*s: object %llu, %llu blkptrs, %s\n",
|
(void) printf(" %*s: object %llu, %llu blkptrs, %s\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user