From ae0ff7b8b0ccf0643ea4d3968faabb2d5ee98c1c Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Tue, 30 Apr 2019 17:15:39 -0400 Subject: bcachefs: Redo replicas gc mechanism Signed-off-by: Kent Overstreet --- fs/bcachefs/replicas.h | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/bcachefs/replicas.h') diff --git a/fs/bcachefs/replicas.h b/fs/bcachefs/replicas.h index 1ceedb6231fd..0d6e19126021 100644 --- a/fs/bcachefs/replicas.h +++ b/fs/bcachefs/replicas.h @@ -59,6 +59,7 @@ unsigned bch2_dev_has_data(struct bch_fs *, struct bch_dev *); int bch2_replicas_gc_end(struct bch_fs *, int); int bch2_replicas_gc_start(struct bch_fs *, unsigned); +int bch2_replicas_gc2(struct bch_fs *); int bch2_replicas_set_usage(struct bch_fs *, struct bch_replicas_entry *, -- cgit v1.2.3