1 #ifndef _BCACHEFS_RECOVERY_PASSES_H
2 #define _BCACHEFS_RECOVERY_PASSES_H
4 extern const char * const bch2_recovery_passes
[];
6 u64
bch2_recovery_passes_to_stable(u64 v
);
7 u64
bch2_recovery_passes_from_stable(u64 v
);
9 u64
bch2_fsck_recovery_passes(void);
11 int bch2_run_explicit_recovery_pass(struct bch_fs
*, enum bch_recovery_pass
);
12 int bch2_run_explicit_recovery_pass_persistent(struct bch_fs
*, enum bch_recovery_pass
);
14 int bch2_run_online_recovery_passes(struct bch_fs
*);
15 int bch2_run_recovery_passes(struct bch_fs
*);
17 #endif /* _BCACHEFS_RECOVERY_PASSES_H */