summaryrefslogtreecommitdiff
path: root/fs/bcachefs/recovery_passes.h
AgeCommit message (Collapse)AuthorFilesLines
2024-04-01bcachefs: bch2_run_explicit_recovery_pass_persistent()Kent Overstreet1-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>
2024-04-01bcachefs: Split out recovery_passes.cKent Overstreet1-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>