projects
/
users
/
jedix
/
linux-maple.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7075496
)
bcachefs: fix units in rebalance_status
author
Kent Overstreet <kent.overstreet@linux.dev>
Sat, 29 Mar 2025 23:29:33 +0000
(19:29 -0400)
committer
Kent 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
patch
|
blob
|
history
diff --git
a/fs/bcachefs/rebalance.c
b/fs/bcachefs/rebalance.c
index 29a5693841469e90732bcf2961a92dc5c2ad1d4c..a480c3cb6712b78d194b4e72e2cfd2713f5153e9 100644
(file)
--- 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]);