bcachefs: bch2_stripe_to_text() now prints ptr gens
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 4 Nov 2023 03:56:14 +0000 (23:56 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 5 Nov 2023 18:13:57 +0000 (13:13 -0500)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/ec.c

index 5da0e7a69323a5ca7d99cc5a18b4b9561027256f..62a3ccd71dc416d07ef5e25ba60ba5a2741948d3 100644 (file)
@@ -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");
        }