xref: /linux/fs/bcachefs/movinggc.h (revision 0678df8271820bcf8fb4f877129f05d68a237de4)
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