From: Kent Overstreet Date: Mon, 31 Mar 2025 00:04:16 +0000 (-0400) Subject: bcachefs: fix bch2_write_point_to_text() units X-Git-Tag: v6.15-rc1~83^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=650f5353dcc9b6e690a1c763754fa1e98d217bfc;p=thirdparty%2Flinux.git bcachefs: fix bch2_write_point_to_text() units Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/alloc_foreground.c b/fs/bcachefs/alloc_foreground.c index 0cac65347a5da..da0d72928b5b4 100644 --- a/fs/bcachefs/alloc_foreground.c +++ b/fs/bcachefs/alloc_foreground.c @@ -1560,7 +1560,7 @@ static void bch2_write_point_to_text(struct printbuf *out, struct bch_fs *c, unsigned i; prt_printf(out, "%lu: ", wp->write_point); - prt_human_readable_u64(out, wp->sectors_allocated); + prt_human_readable_u64(out, wp->sectors_allocated << 9); prt_printf(out, " last wrote: "); bch2_pr_time_units(out, sched_clock() - wp->last_used);