bcachefs: Make copygc thread global
authorKent Overstreet <kent.overstreet@gmail.com>
Sat, 11 Jul 2020 20:28:54 +0000 (16:28 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:42 +0000 (17:08 -0400)
commite6d1161530bcd632ad10b6aa0ad511abb146dbcc
treedf05a7dd1dc962373bedc7aa4bd47ddd403ad7ac
parentf793bc15491c04481b3f12a10ff22a53cd126842
bcachefs: Make copygc thread global

Per device copygc threads don't move data to different devices and they
make fragmentation works - they don't make much sense anymore.

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/buckets.c
fs/bcachefs/buckets_types.h
fs/bcachefs/movinggc.c
fs/bcachefs/movinggc.h
fs/bcachefs/super.c
fs/bcachefs/sysfs.c
fs/bcachefs/trace.h