diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-16 23:19:49 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-22 17:10:08 -0400 |
commit | 922bc5a037ecf82d3cbad1c9976274f441328274 (patch) | |
tree | da23feb08c6cba2ba20492f7afb98d4ee386468c /fs/bcachefs/btree_gc.h | |
parent | ae2e13d7809d79ea4d7c0cd8ee060b7911012e37 (diff) | |
download | linux-922bc5a037ecf82d3cbad1c9976274f441328274.tar.gz linux-922bc5a037ecf82d3cbad1c9976274f441328274.tar.bz2 linux-922bc5a037ecf82d3cbad1c9976274f441328274.zip |
bcachefs: Make topology repair a normal recovery pass
This adds bch2_run_explicit_recovery_pass(), for rewinding recovery and
explicitly running a specific recovery pass - this is a more general
replacement for how we were running topology repair before.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/btree_gc.h')
-rw-r--r-- | fs/bcachefs/btree_gc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/btree_gc.h b/fs/bcachefs/btree_gc.h index 95d803b5743d..402c69184656 100644 --- a/fs/bcachefs/btree_gc.h +++ b/fs/bcachefs/btree_gc.h @@ -4,6 +4,7 @@ #include "btree_types.h" +int bch2_check_topology(struct bch_fs *); int bch2_gc(struct bch_fs *, bool, bool); int bch2_gc_gens(struct bch_fs *); void bch2_gc_thread_stop(struct bch_fs *); |