aboutsummaryrefslogtreecommitdiff
path: root/fs/bcachefs/recovery_passes.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* bcachefs: bch2_run_explicit_recovery_pass_persistent()Kent Overstreet2024-03-311-0/+1
| | | | | | | 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>
* bcachefs: Split out recovery_passes.cKent Overstreet2024-03-311-0/+16
We've grown a fair amount of code for managing recovery passes; tracking which ones we're running, which ones need to be run, and flagging in the superblock which ones need to be run on the next recovery. So it's worth splitting out into its own file, this code is pretty different from the code in recovery.c. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>