bcachefs: Simplify journal replay
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 28 Dec 2021 04:10:06 +0000 (23:10 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:21 +0000 (17:09 -0400)
commitd8601afca840d36203d0cf2da94ce4f92003956e
tree77291db56c593cd0413c3827fc61aabb506db99c
parent8e432d98a5011de5b1304fa9c8591588bea59b96
bcachefs: Simplify journal replay

With BTREE_ITER_WITH_JOURNAL, there's no longer any restrictions on the
order we have to replay keys from the journal in, and we can also start
up journal reclaim right away - and delete a bunch of code.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/alloc_background.c
fs/bcachefs/bcachefs.h
fs/bcachefs/btree_key_cache.h
fs/bcachefs/btree_update_interior.c
fs/bcachefs/btree_update_leaf.c
fs/bcachefs/journal_reclaim.c
fs/bcachefs/journal_types.h
fs/bcachefs/recovery.c