bcachefs: Move gc of bucket.oldest_gen to workqueue
authorKent Overstreet <kent.overstreet@linux.dev>
Sat, 20 Apr 2024 02:44:12 +0000 (22:44 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Wed, 8 May 2024 21:29:20 +0000 (17:29 -0400)
commit103304021e54bfb5cab9ba04cd5ef0dc2bf33888
tree290f599143bec9f28307836245a152dd19db992b
parentb25fd02ab4edb0193e60754626704adacbfbeefb
bcachefs: Move gc of bucket.oldest_gen to workqueue

This is a nice cleanup - and we've also been having problems with
kthread creation in the mount path.

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/super.c
fs/bcachefs/sysfs.c