From: Kent Overstreet Date: Sat, 29 Mar 2025 23:29:33 +0000 (-0400) Subject: bcachefs: fix units in rebalance_status X-Git-Tag: v6.15-rc1~83^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=458e2ef882d2e2ac4748ca802227a5e050d6aba1;p=thirdparty%2Flinux.git bcachefs: fix units in rebalance_status Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/rebalance.c b/fs/bcachefs/rebalance.c index 29a5693841469..a480c3cb6712b 100644 --- a/fs/bcachefs/rebalance.c +++ b/fs/bcachefs/rebalance.c @@ -605,7 +605,7 @@ void bch2_rebalance_status_to_text(struct printbuf *out, struct bch_fs *c) bch2_accounting_mem_read(c, disk_accounting_pos_to_bpos(&acc), &v, 1); prt_printf(out, "pending work:\t"); - prt_human_readable_u64(out, v); + prt_human_readable_u64(out, v << 9); prt_printf(out, "\n\n"); prt_str(out, bch2_rebalance_state_strs[r->state]);