xref: /linux/fs/bcachefs/movinggc.h (revision 4b660dbd9ee2059850fd30e0df420ca7a38a1856)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _BCACHEFS_MOVINGGC_H
3 #define _BCACHEFS_MOVINGGC_H
4 
5 unsigned long bch2_copygc_wait_amount(struct bch_fs *);
6 void bch2_copygc_wait_to_text(struct printbuf *, struct bch_fs *);
7 
8 void bch2_copygc_stop(struct bch_fs *);
9 int bch2_copygc_start(struct bch_fs *);
10 void bch2_fs_copygc_init(struct bch_fs *);
11 
12 #endif /* _BCACHEFS_MOVINGGC_H */
13