projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b7a0c
)
bcachefs: improve bch2_new_stripe_to_text()
author
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 1 Sep 2024 20:45:34 +0000
(16:45 -0400)
committer
Kent 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
patch
|
blob
|
history
diff --git
a/fs/bcachefs/ec.c
b/fs/bcachefs/ec.c
index
24140c4
..
46667fc
100644
(file)
--- a/
fs/bcachefs/ec.c
+++ b/
fs/bcachefs/ec.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)
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)