Commit da4aa3b0 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: bch2_stripe_to_text() now prints ptr gens

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 769b3600
...@@ -150,6 +150,7 @@ void bch2_stripe_to_text(struct printbuf *out, struct bch_fs *c, ...@@ -150,6 +150,7 @@ void bch2_stripe_to_text(struct printbuf *out, struct bch_fs *c,
prt_printf(out, " %u:%llu:%u", ptr->dev, b, offset); prt_printf(out, " %u:%llu:%u", ptr->dev, b, offset);
if (i < nr_data) if (i < nr_data)
prt_printf(out, "#%u", stripe_blockcount_get(s, i)); prt_printf(out, "#%u", stripe_blockcount_get(s, i));
prt_printf(out, " gen %u", ptr->gen);
if (ptr_stale(ca, ptr)) if (ptr_stale(ca, ptr))
prt_printf(out, " stale"); prt_printf(out, " stale");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment