Skip to content
Snippets Groups Projects
Commit 4ae01660 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Print size of superblock with space allocated


Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a6548c8b
No related branches found
No related tags found
No related merge requests found
......@@ -1320,7 +1320,9 @@ void bch2_sb_to_text(struct printbuf *out, struct bch_sb *sb,
prt_printf(out, "Superblock size:");
prt_tab(out);
prt_printf(out, "%zu", vstruct_bytes(sb));
prt_units_u64(out, vstruct_bytes(sb));
prt_str(out, "/");
prt_units_u64(out, 512ULL << sb->layout.sb_max_size_bits);
prt_newline(out);
prt_printf(out, "Clean:");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment