bcachefs: Don't require alloc btree to be updated before buckets are used
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 28 May 2020 19:51:50 +0000 (15:51 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:40 +0000 (17:08 -0400)
commitbaeed3c3c028359c625fbe92bc5924edaea91ec4
tree732abdd69786802c560c0480bb2ea785eb712f6a
parentbeb6db68a555d14b4b3a7b894d6d635774bcdafd
bcachefs: Don't require alloc btree to be updated before buckets are used

This is to break a circular dependency in the shutdown path.

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