bcachefs: Don't use in-memory bucket array for alloc updates
authorKent Overstreet <kent.overstreet@gmail.com>
Sun, 26 Dec 2021 01:36:47 +0000 (20:36 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:22 +0000 (17:09 -0400)
commit3763cb9566a65966cd404cf3e0c5f218e5cf5d16
tree8698305aa1e994cac6ad546e5435fca113c1ed30
parent1f5f52bd036ca019d77b2446b8e20981483d1b9d
bcachefs: Don't use in-memory bucket array for alloc updates

More prep work for getting rid of the in-memory bucket array: now that
we have BTREE_ITER_WITH_JOURNAL, the allocator code can do ntree lookups
before journal replay is finished, and there's no longer any need for it
to get allocation information from the in-memory bucket array.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/alloc_background.c
fs/bcachefs/btree_iter.c
fs/bcachefs/btree_update.h
fs/bcachefs/buckets.c