]> www.infradead.org Git - nvme.git/commit
bcachefs: bch_acct_compression
authorKent Overstreet <kent.overstreet@linux.dev>
Sun, 7 Jan 2024 02:42:36 +0000 (21:42 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 14 Jul 2024 23:00:13 +0000 (19:00 -0400)
commitbfcaa9079d91cb843630403e7379bbb86d2f73b0
tree8f919a7fdff7878c389a744d4eb602315b2ebf39
parent5668e5deec253dc4674aea00997716cc3a66aaac
bcachefs: bch_acct_compression

This adds per-compression-type accounting of compressed and uncompressed
size as well as number of extents - meaning we can now see compression
ratio (without walking the whole filesystem).

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/buckets.c
fs/bcachefs/disk_accounting.c
fs/bcachefs/disk_accounting_format.h