summaryrefslogtreecommitdiff
path: root/fs/bcachefs/io.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-11-25 20:56:49 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-23 00:09:47 +0300
commit42fab2695bfea686dc5eef92da0b4ce3277484a0 (patch)
treef0b2e73c231cc143464f4e30aba0486ab9155b60 /fs/bcachefs/io.c
parent30c92ffe4752b10059cfe00cea775d4af2f5196c (diff)
downloadlinux-42fab2695bfea686dc5eef92da0b4ce3277484a0.tar.xz
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>
Diffstat (limited to 'fs/bcachefs/io.c')
-rw-r--r--fs/bcachefs/io.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/fs/bcachefs/io.c b/fs/bcachefs/io.c
index 821c14763c66..5fe049d64e27 100644
--- a/fs/bcachefs/io.c
+++ b/fs/bcachefs/io.c
@@ -660,14 +660,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);