Commit c9cabfb2 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: improve bch2_new_stripe_to_text()

also print out the new stripe key
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a4b7a0c0
...@@ -2270,6 +2270,8 @@ static void bch2_new_stripe_to_text(struct printbuf *out, struct bch_fs *c, ...@@ -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) for_each_set_bit(i, s->blocks_gotten, v->nr_blocks)
prt_printf(out, " %u", s->blocks[i]); prt_printf(out, " %u", s->blocks[i]);
prt_newline(out); 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) void bch2_new_stripes_to_text(struct printbuf *out, struct bch_fs *c)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment