bcachefs: Convert bch2_compression_stats_to_text() to new accounting
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 25 Feb 2024 02:09:51 +0000 (21:09 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Jul 2024 23:00:13 +0000 (19:00 -0400)
commit91f44781d59a00a3478240e0b907c70d972e8897
tree377f993af3913febb463647bcc66cc0acbfc5c5a
parentbfcaa9079d91cb843630403e7379bbb86d2f73b0
bcachefs: Convert bch2_compression_stats_to_text() to new accounting

We no longer have to walk the whole btree to calculate compression
stats.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/sysfs.c