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