bcachefs: gc shouldn't care about owned_by_allocator
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 17 Apr 2021 01:34:00 +0000 (21:34 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:01 +0000 (17:09 -0400)
commitdac1525d9c0d6e69da561dbc2becdcd32230b907
treee91d02d9f4d7019abd43a4418601cab8aabbb541
parent694015c2b1cf114577e4526c0aa370d0ed0a10e5
bcachefs: gc shouldn't care about owned_by_allocator

The owned_by_allocator field is a purely in memory thing, even if/when
we bring back GC at runtime there's no need for it to be recalculating
this field. This is prep work for pulling it out of struct bucket, and
eventually getting rid of the bucket array.

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/alloc_foreground.c
fs/bcachefs/bcachefs.h
fs/bcachefs/btree_gc.c
fs/bcachefs/btree_gc.h
fs/bcachefs/buckets.c
fs/bcachefs/buckets.h