bcachefs: Refactor whiteouts compaction
authorKent Overstreet <kent.overstreet@gmail.com>
Fri, 13 Dec 2019 18:08:37 +0000 (13:08 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:32 +0000 (17:08 -0400)
commitc297a763e2dcf34fe94f74c633957306d28fe138
treeee87324ee2109252ce58a7a746f35a42461c78c6
parentc9bebae65eade6529f9d3068a6da42fc56664bfe
bcachefs: Refactor whiteouts compaction

The whiteout compaction path - as opposed to just dropping whiteouts -
is now only needed for extents, and soon will only be needed for extent
btree nodes in the old format.

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