summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/movinggc.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2020-07-11 16:28:54 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:08:42 -0400
commite6d1161530bcd632ad10b6aa0ad511abb146dbcc (patch)
treedf05a7dd1dc962373bedc7aa4bd47ddd403ad7ac /fs/bcachefs/movinggc.h
parentf793bc15491c04481b3f12a10ff22a53cd126842 (diff)
downloadlinux-e6d1161530bcd632ad10b6aa0ad511abb146dbcc.tar.gz
linux-e6d1161530bcd632ad10b6aa0ad511abb146dbcc.tar.bz2
linux-e6d1161530bcd632ad10b6aa0ad511abb146dbcc.zip
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>
Diffstat (limited to 'fs/bcachefs/movinggc.h')
-rw-r--r--fs/bcachefs/movinggc.h6
1 files changed, 3 insertions, 3 deletions
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 */