]> git.dujemihanovic.xyz Git - linux.git/commitdiff
bcachefs: improve bch2_new_stripe_to_text()
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 1 Sep 2024 20:45:34 +0000 (16:45 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Sep 2024 15:39:48 +0000 (11:39 -0400)
also print out the new stripe key

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/ec.c

index 24140c485eee24a9bb2ce5fad73ab9da04919847..46667fce6b699ed4679fd348a6c25251b8909912 100644 (file)
@@ -2270,6 +2270,8 @@ static void bch2_new_stripe_to_text(struct printbuf *out, struct bch_fs *c,
        for_each_set_bit(i, s->blocks_gotten, v->nr_blocks)
                prt_printf(out, " %u", s->blocks[i]);
        prt_newline(out);
+       bch2_bkey_val_to_text(out, c, bkey_i_to_s_c(&s->new_stripe.key));
+       prt_newline(out);
 }
 
 void bch2_new_stripes_to_text(struct printbuf *out, struct bch_fs *c)