diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-30 03:43:39 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-01 03:36:12 +0300 |
commit | 060ff30a8596b649a80c19935758000dde7855fe (patch) | |
tree | 2aa0fd2eda319f7b4177dfb1d0a99972f49ec3e8 /fs/bcachefs/recovery_passes.h | |
parent | 0a34c058fca84b10002228a1724e2e613e4dc3cc (diff) | |
download | linux-060ff30a8596b649a80c19935758000dde7855fe.tar.xz |
bcachefs: bch2_run_explicit_recovery_pass_persistent()
Flag that we need to run a recovery pass and run it - persistenly, so if
we crash it'll still get run.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/recovery_passes.h')
-rw-r--r-- | fs/bcachefs/recovery_passes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/recovery_passes.h b/fs/bcachefs/recovery_passes.h index abefa67749eb..99b464e127b8 100644 --- a/fs/bcachefs/recovery_passes.h +++ b/fs/bcachefs/recovery_passes.h @@ -9,6 +9,7 @@ u64 bch2_recovery_passes_from_stable(u64 v); u64 bch2_fsck_recovery_passes(void); int bch2_run_explicit_recovery_pass(struct bch_fs *, enum bch_recovery_pass); +int bch2_run_explicit_recovery_pass_persistent(struct bch_fs *, enum bch_recovery_pass); int bch2_run_online_recovery_passes(struct bch_fs *); int bch2_run_recovery_passes(struct bch_fs *); |