summaryrefslogtreecommitdiff
path: root/fs/bcachefs/buckets_types.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2018-07-24 23:42:49 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:08:08 +0300
commit6eac2c2e2440280ca551d4936807a8a130970469 (patch)
tree95f0176b9e94bb29f10d98c7abfdb9dac2374d74 /fs/bcachefs/buckets_types.h
parent5b650fd11a00271b9d4c033d1d0780826e050137 (diff)
downloadlinux-6eac2c2e2440280ca551d4936807a8a130970469.tar.xz
bcachefs: Change how replicated data is accounted
Due to compression, the different replicas of a replicated extent don't necessarily have to take up the same amount of space - so replicated data sector counts shouldn't be stored divided by the number of replicas. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/buckets_types.h')
-rw-r--r--fs/bcachefs/buckets_types.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/buckets_types.h b/fs/bcachefs/buckets_types.h
index 9968570832e3..49f3ab9009ea 100644
--- a/fs/bcachefs/buckets_types.h
+++ b/fs/bcachefs/buckets_types.h
@@ -62,7 +62,6 @@ struct bch_dev_usage {
struct bch_fs_usage {
/* all fields are in units of 512 byte sectors: */
- /* _uncompressed_ sectors: */
u64 online_reserved;
u64 available_cache;