bcachefs: Drop bkey noops
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 25 Mar 2021 00:22:51 +0000 (20:22 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:57 +0000 (17:08 -0400)
commit0390ea8ad8f4079c25d47e8c249a2f621aaec3c0
tree51600ed8ca29886ea526de23c47beb0a172a4f8a
parent7c8b166e584c85f9920d8f82778967eeee0e1b03
bcachefs: Drop bkey noops

Bkey noops were introduced to deal with trimming inline data extents in
place in the btree: if the u64s field of a bkey was 0, that u64 was a
noop and we'd start looking for the next bkey immediately after it.

But extent handling has been lifted above the btree - we no longer
modify existing extents in place in the btree, and the compatibilty code
for old style extent btree nodes is gone, so we can completely drop this
code.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bkey.h
fs/bcachefs/bkey_sort.c
fs/bcachefs/bset.c
fs/bcachefs/bset.h
fs/bcachefs/btree_gc.c
fs/bcachefs/btree_io.c
fs/bcachefs/btree_update_interior.c