bcachefs: lift ordering restriction on 0 size extents
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 22 Jul 2016 03:05:06 +0000 (19:05 -0800)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:09 +0000 (17:08 -0400)
commit271a3d3a4b30dcd9fd274a923fb382f5f113d279
treeb16887dfafd9b011a14ae842f1029ce1211c9aa5
parent0fdf18047fd38e7b5cc6adba3a81704c88333e1c
bcachefs: lift ordering restriction on 0 size extents

This lifts the restriction that 0 size extents must not overlap with
other extents, which means we can now sort extents and non extents the
same way, and will let us simplify a bunch of other stuff as well.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bset.c
fs/bcachefs/bset.h
fs/bcachefs/btree_gc.c
fs/bcachefs/btree_io.c
fs/bcachefs/btree_io.h
fs/bcachefs/btree_iter.c
fs/bcachefs/btree_types.h
fs/bcachefs/btree_update_interior.c
fs/bcachefs/btree_update_leaf.c
fs/bcachefs/extents.c