From: Kent Overstreet Date: Sat, 4 Nov 2023 03:56:14 +0000 (-0400) Subject: bcachefs: bch2_stripe_to_text() now prints ptr gens X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=da4aa3b00123b8a588d23482993751e88bbaa324;p=linux.git bcachefs: bch2_stripe_to_text() now prints ptr gens Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/ec.c b/fs/bcachefs/ec.c index 5da0e7a69323a..62a3ccd71dc41 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"); }