xref: /linux/fs/bcachefs/recovery_passes.h
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef _BCACHEFS_RECOVERY_PASSES_H
2 #define _BCACHEFS_RECOVERY_PASSES_H
3 
4 extern const char * const bch2_recovery_passes[];
5 
6 extern const struct bch_sb_field_ops bch_sb_field_ops_recovery_passes;
7 
8 u64 bch2_recovery_passes_to_stable(u64 v);
9 u64 bch2_recovery_passes_from_stable(u64 v);
10 
11 u64 bch2_fsck_recovery_passes(void);
12 
13 enum bch_run_recovery_pass_flags {
14 	RUN_RECOVERY_PASS_nopersistent	= BIT(0),
15 	RUN_RECOVERY_PASS_ratelimit	= BIT(1),
16 };
17 
18 int bch2_run_print_explicit_recovery_pass(struct bch_fs *, enum bch_recovery_pass);
19 
20 int __bch2_run_explicit_recovery_pass(struct bch_fs *, struct printbuf *,
21 				      enum bch_recovery_pass,
22 				      enum bch_run_recovery_pass_flags);
23 int bch2_run_explicit_recovery_pass(struct bch_fs *, struct printbuf *,
24 				    enum bch_recovery_pass,
25 				    enum bch_run_recovery_pass_flags);
26 
27 int bch2_run_online_recovery_passes(struct bch_fs *, u64);
28 int bch2_run_recovery_passes(struct bch_fs *, enum bch_recovery_pass);
29 
30 void bch2_recovery_pass_status_to_text(struct printbuf *, struct bch_fs *);
31 
32 void bch2_fs_recovery_passes_init(struct bch_fs *);
33 
34 #endif /* _BCACHEFS_RECOVERY_PASSES_H */
35 

served by {OpenGrok

Last Index Update: Wed Jun 04 06:07:01 UTC 2025

Navigate Window
x
Scopes Window
x
Intelligence window
x
Next >> | << Prev


In current file
  • Highlight
  • Unhighlight
  • Unhighlight all
In project "undefined"
  • Search for definitions of
  • Search for references of
  • Do a full search with
  • Search for file names that contain
On Google
  • Google
Messages Window
x