]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
bcachefs: fix units in rebalance_status
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 29 Mar 2025 23:29:33 +0000 (19:29 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 30 Mar 2025 20:35:13 +0000 (16:35 -0400)
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/rebalance.c

index 29a5693841469e90732bcf2961a92dc5c2ad1d4c..a480c3cb6712b78d194b4e72e2cfd2713f5153e9 100644 (file)
@@ -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]);