From da4aa3b00123b8a588d23482993751e88bbaa324 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Fri, 3 Nov 2023 23:56:14 -0400 Subject: bcachefs: bch2_stripe_to_text() now prints ptr gens Signed-off-by: Kent Overstreet --- fs/bcachefs/ec.c | 1 + 1 file changed, 1 insertion(+) (limited to 'fs') diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index 5da0e7a69323..62a3ccd71dc4 100644 --- a/fs/bcachefs/ec.c +++ b/fs/bcachefs/ec.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); if (i < nr_data) prt_printf(out, "#%u", stripe_blockcount_get(s, i)); + prt_printf(out, " gen %u", ptr->gen); if (ptr_stale(ca, ptr)) prt_printf(out, " stale"); } -- cgit v1.2.3