From 6eac2c2e2440280ca551d4936807a8a130970469 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 24 Jul 2018 16:42:49 -0400 Subject: 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 --- fs/bcachefs/buckets_types.h | 1 - 1 file changed, 1 deletion(-) (limited to 'fs/bcachefs/buckets_types.h') 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; -- cgit v1.2.3