Skip to content

Commit 458e2ef

Browse files
author
Kent Overstreet
committed
bcachefs: fix units in rebalance_status
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent 7075496 commit 458e2ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/bcachefs/rebalance.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ void bch2_rebalance_status_to_text(struct printbuf *out, struct bch_fs *c)
605605
bch2_accounting_mem_read(c, disk_accounting_pos_to_bpos(&acc), &v, 1);
606606

607607
prt_printf(out, "pending work:\t");
608-
prt_human_readable_u64(out, v);
608+
prt_human_readable_u64(out, v << 9);
609609
prt_printf(out, "\n\n");
610610

611611
prt_str(out, bch2_rebalance_state_strs[r->state]);

0 commit comments

Comments
 (0)