Skip to content

Commit c9cabfb

Browse files
author
Kent Overstreet
committed
bcachefs: improve bch2_new_stripe_to_text()
also print out the new stripe key Signed-off-by: Kent Overstreet <[email protected]>
1 parent a4b7a0c commit c9cabfb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fs/bcachefs/ec.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2270,6 +2270,8 @@ static void bch2_new_stripe_to_text(struct printbuf *out, struct bch_fs *c,
22702270
for_each_set_bit(i, s->blocks_gotten, v->nr_blocks)
22712271
prt_printf(out, " %u", s->blocks[i]);
22722272
prt_newline(out);
2273+
bch2_bkey_val_to_text(out, c, bkey_i_to_s_c(&s->new_stripe.key));
2274+
prt_newline(out);
22732275
}
22742276

22752277
void bch2_new_stripes_to_text(struct printbuf *out, struct bch_fs *c)

0 commit comments

Comments
 (0)