blob: print sequence and next while dumping pages
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I2873633e435560ed1199b141851ba43fffcfe2c4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11248 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
148bcefa85
commit
d715c82cc6
@ -4552,6 +4552,12 @@ bs_dump_print_md_page(struct spdk_bs_load_ctx *ctx)
|
||||
fprintf(ctx->fp, "=========\n");
|
||||
fprintf(ctx->fp, "Metadata Page Index: %" PRIu32 " (0x%" PRIx32 ")\n", page_idx, page_idx);
|
||||
fprintf(ctx->fp, "Blob ID: 0x%" PRIx64 "\n", page->id);
|
||||
fprintf(ctx->fp, "Sequence: %" PRIu32 "\n", page->sequence_num);
|
||||
if (page->next == SPDK_INVALID_MD_PAGE) {
|
||||
fprintf(ctx->fp, "Next: None\n");
|
||||
} else {
|
||||
fprintf(ctx->fp, "Next: %" PRIu32 "\n", page->next);
|
||||
}
|
||||
fprintf(ctx->fp, "In used bit array%s:", ctx->super->clean ? "" : " (not clean: dubious)");
|
||||
if (spdk_bit_array_get(ctx->bs->used_md_pages, page_idx)) {
|
||||
fprintf(ctx->fp, " md");
|
||||
|
Loading…
Reference in New Issue
Block a user