diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2021-12-24 10:55:11 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:19 +0300 |
commit | 7243498de74d32d0afe3b923cd893a6b49f70c3c (patch) | |
tree | 8a17e0e8ee7ca97194de6450fd8cf84a6e4d9638 /fs/bcachefs/super-io.h | |
parent | 73b460977eb8782a769ff81200a8b40cf1a3a91d (diff) | |
download | linux-7243498de74d32d0afe3b923cd893a6b49f70c3c.tar.xz |
bcachefs: Kill non-lru cache replacement policies
Prep work for persistent LRUs and getting rid of the in memory bucket
array.
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Diffstat (limited to 'fs/bcachefs/super-io.h')
-rw-r--r-- | fs/bcachefs/super-io.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/bcachefs/super-io.h b/fs/bcachefs/super-io.h index 62d040d571c0..f182711cc48f 100644 --- a/fs/bcachefs/super-io.h +++ b/fs/bcachefs/super-io.h @@ -110,7 +110,6 @@ static inline struct bch_member_cpu bch2_mi_to_cpu(struct bch_member *mi) .bucket_size = le16_to_cpu(mi->bucket_size), .group = BCH_MEMBER_GROUP(mi), .state = BCH_MEMBER_STATE(mi), - .replacement = BCH_MEMBER_REPLACEMENT(mi), .discard = BCH_MEMBER_DISCARD(mi), .data_allowed = BCH_MEMBER_DATA_ALLOWED(mi), .durability = BCH_MEMBER_DURABILITY(mi) |