bcachefs: bch2_run_explicit_recovery_pass()
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 17 Jul 2023 03:21:17 +0000 (23:21 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:08 +0000 (17:10 -0400)
commitae2e13d7809d79ea4d7c0cd8ee060b7911012e37
treee12ed129dcec1d25552431f3658d1f8469daa55c
parentef1634f0f19d676483888c2a05d7e406b366d2db
bcachefs: bch2_run_explicit_recovery_pass()

This introduces bch2_run_explicit_recovery_pass() and uses it for when
fsck detects that we need to re-run dead snaphots cleanup, and makes
dead snapshot cleanup more like a normal recovery pass.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/bcachefs.h
fs/bcachefs/errcode.h
fs/bcachefs/fsck.c
fs/bcachefs/recovery.c
fs/bcachefs/subvolume.c