mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-03-10 00:00:04 +03:00
print out sequence number in show-super
This commit is contained in:
parent
ecdf4b64ad
commit
b867ddadb3
@ -717,6 +717,7 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout,
|
|||||||
"Label: %s\n"
|
"Label: %s\n"
|
||||||
"Version: %llu\n"
|
"Version: %llu\n"
|
||||||
"Created: %s\n"
|
"Created: %s\n"
|
||||||
|
"Squence number: %llu\n"
|
||||||
"Block_size: %s\n"
|
"Block_size: %s\n"
|
||||||
"Btree node size: %s\n"
|
"Btree node size: %s\n"
|
||||||
"Error action: %s\n"
|
"Error action: %s\n"
|
||||||
@ -747,6 +748,7 @@ void bch2_sb_print(struct bch_sb *sb, bool print_layout,
|
|||||||
label,
|
label,
|
||||||
le64_to_cpu(sb->version),
|
le64_to_cpu(sb->version),
|
||||||
time_str,
|
time_str,
|
||||||
|
le64_to_cpu(sb->seq),
|
||||||
pr_units(le16_to_cpu(sb->block_size), units),
|
pr_units(le16_to_cpu(sb->block_size), units),
|
||||||
pr_units(BCH_SB_BTREE_NODE_SIZE(sb), units),
|
pr_units(BCH_SB_BTREE_NODE_SIZE(sb), units),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user