Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1#ifndef _BCACHEFS_RECOVERY_PASSES_H
2#define _BCACHEFS_RECOVERY_PASSES_H
3
4extern const char * const bch2_recovery_passes[];
5
6u64 bch2_recovery_passes_to_stable(u64 v);
7u64 bch2_recovery_passes_from_stable(u64 v);
8
9u64 bch2_fsck_recovery_passes(void);
10
11int bch2_run_explicit_recovery_pass(struct bch_fs *, enum bch_recovery_pass);
12int bch2_run_explicit_recovery_pass_persistent_locked(struct bch_fs *, enum bch_recovery_pass);
13int bch2_run_explicit_recovery_pass_persistent(struct bch_fs *, enum bch_recovery_pass);
14
15int bch2_run_online_recovery_passes(struct bch_fs *);
16int bch2_run_recovery_passes(struct bch_fs *);
17
18#endif /* _BCACHEFS_RECOVERY_PASSES_H */