bcachefs: Allocator thread doesn't need gc_lock anymore
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 17 Apr 2021 01:53:23 +0000 (21:53 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:01 +0000 (17:09 -0400)
commit6ad060b0eb45d2eaa5411be042bd3b53900f992e
tree3a97b7284aac84aa554a6cb845187396c5657676
parentdac1525d9c0d6e69da561dbc2becdcd32230b907
bcachefs: Allocator thread doesn't need gc_lock anymore

Even with runtime gc (which currently isn't supported), runtime gc no
longer clears/recalculates the main set of bucket marks - it allocates
and calculates another set, updating the primary at the end.

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