diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-07-17 06:21:17 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:10:08 +0300 |
commit | ae2e13d7809d79ea4d7c0cd8ee060b7911012e37 (patch) | |
tree | e12ed129dcec1d25552431f3658d1f8469daa55c /fs/bcachefs/errcode.h | |
parent | ef1634f0f19d676483888c2a05d7e406b366d2db (diff) | |
download | linux-ae2e13d7809d79ea4d7c0cd8ee060b7911012e37.tar.xz |
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>
Diffstat (limited to 'fs/bcachefs/errcode.h')
-rw-r--r-- | fs/bcachefs/errcode.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/errcode.h b/fs/bcachefs/errcode.h index a759493fee44..adc25c73e715 100644 --- a/fs/bcachefs/errcode.h +++ b/fs/bcachefs/errcode.h @@ -157,7 +157,7 @@ x(BCH_ERR_fsck, fsck_errors_not_fixed) \ x(BCH_ERR_fsck, fsck_repair_unimplemented) \ x(BCH_ERR_fsck, fsck_repair_impossible) \ - x(0, need_snapshot_cleanup) \ + x(0, restart_recovery) \ x(0, need_topology_repair) \ x(0, unwritten_extent_update) \ x(EINVAL, device_state_not_allowed) \ |