aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/bcachefs/rebalance.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-03-29 19:29:33 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-30 16:35:13 -0400
commit458e2ef882d2e2ac4748ca802227a5e050d6aba1 (patch)
tree8d420dc7e13fd7ddbe85715a9d5e5a2ac2179cab /fs/bcachefs/rebalance.c
parentbcachefs: bch2_ioctl_subvolume_destroy() fixes (diff)
downloadwireguard-linux-458e2ef882d2e2ac4748ca802227a5e050d6aba1.tar.xz
wireguard-linux-458e2ef882d2e2ac4748ca802227a5e050d6aba1.zip
bcachefs: fix units in rebalance_status
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to '')
-rw-r--r--fs/bcachefs/rebalance.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/rebalance.c b/fs/bcachefs/rebalance.c
index 29a569384146..a480c3cb6712 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]);