Skip to content

Commit da4aa3b

Browse files
author
Kent Overstreet
committed
bcachefs: bch2_stripe_to_text() now prints ptr gens
Signed-off-by: Kent Overstreet <[email protected]>
1 parent 769b360 commit da4aa3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/bcachefs/ec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ void bch2_stripe_to_text(struct printbuf *out, struct bch_fs *c,
150150
prt_printf(out, " %u:%llu:%u", ptr->dev, b, offset);
151151
if (i < nr_data)
152152
prt_printf(out, "#%u", stripe_blockcount_get(s, i));
153+
prt_printf(out, " gen %u", ptr->gen);
153154
if (ptr_stale(ca, ptr))
154155
prt_printf(out, " stale");
155156
}

0 commit comments

Comments
 (0)