From e6d1161530bcd632ad10b6aa0ad511abb146dbcc Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sat, 11 Jul 2020 16:28:54 -0400 Subject: 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 Signed-off-by: Kent Overstreet --- fs/bcachefs/movinggc.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fs/bcachefs/movinggc.h') diff --git a/fs/bcachefs/movinggc.h b/fs/bcachefs/movinggc.h index dcd479632cf1..922738247d03 100644 --- a/fs/bcachefs/movinggc.h +++ b/fs/bcachefs/movinggc.h @@ -2,8 +2,8 @@ #ifndef _BCACHEFS_MOVINGGC_H #define _BCACHEFS_MOVINGGC_H -void bch2_copygc_stop(struct bch_dev *); -int bch2_copygc_start(struct bch_fs *, struct bch_dev *); -void bch2_dev_copygc_init(struct bch_dev *); +void bch2_copygc_stop(struct bch_fs *); +int bch2_copygc_start(struct bch_fs *); +void bch2_fs_copygc_init(struct bch_fs *); #endif /* _BCACHEFS_MOVINGGC_H */ -- cgit