Skip to content

Commit

Permalink
Octdump the spill blkptr with 7-d.
Browse files Browse the repository at this point in the history
  • Loading branch information
dweeezil committed Sep 18, 2014
1 parent 6efc9d3 commit ce58fc1
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 @@ -1881,6 +1881,11 @@ dump_object(objset_t *os, uint64_t object, int verbosity, int *print_header)
char blkbuf[BP_SPRINTF_LEN];
snprintf_blkptr_compact(blkbuf, sizeof (blkbuf), &dn->dn_phys->dn_spill);
(void) printf("\n\tSpill blkptr:\n\t\t%s\n", blkbuf);
if (verbosity >= 7) {
(void) printf("\tSpill blkptr dump: ");
octdump(&dn->dn_phys->dn_spill, sizeof (dn->dn_phys->dn_spill));
(void) printf("\n");
}
}
object_viewer[ZDB_OT_TYPE(doi.doi_bonus_type)](os, object,
bonus, bsize);
Expand Down

0 comments on commit ce58fc1

Please sign in to comment.