diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-25 12:56:49 -0500 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2022-11-30 12:30:50 -0500 |
commit | f0fab0680a1927a6b205a4fe41e6b4515c1cc5af (patch) | |
tree | 047f6710464ec18da0352a9e46a79f4e9f5938c7 | |
parent | 7a63cbbd5f73abc0c4bf05732cf34921b3d93d6b (diff) |
bcachefs: Kill BCH_FEATURE_incompressible
This isn't needed anymore, we only support metadata versions that have
this.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r-- | fs/bcachefs/io.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/bcachefs/io.c b/fs/bcachefs/io.c index 261a00938f23..3ba3fd6097dc 100644 --- a/fs/bcachefs/io.c +++ b/fs/bcachefs/io.c @@ -745,14 +745,9 @@ static void __bch2_write_index(struct bch_write_op *op) * particularly want to plumb io_opts all the way through the btree * update stack right now */ - for_each_keylist_key(keys, k) { + for_each_keylist_key(keys, k) bch2_rebalance_add_key(c, bkey_i_to_s_c(k), &op->opts); - if (bch2_bkey_is_incompressible(bkey_i_to_s_c(k))) - bch2_check_set_feature(op->c, BCH_FEATURE_incompressible); - - } - if (!bch2_keylist_empty(keys)) { u64 sectors_start = keylist_sectors(keys); |