diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-28 05:50:19 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-04-03 21:46:51 +0300 |
commit | a292be3b68f3fdad6cff50c716174f51b119efd1 (patch) | |
tree | 90cf8bf5d9dfd67b6e12e212f3ee2d720a86b37c /fs/bcachefs/recovery_passes_types.h | |
parent | 55936afe11077a84d9e1c5068169af328bbf2811 (diff) | |
download | linux-a292be3b68f3fdad6cff50c716174f51b119efd1.tar.xz |
bcachefs: Reconstruct missing snapshot nodes
When the snapshots btree is going, we'll have to delete huge amounts of
data - unless we can reconstruct it by looking at the keys that refer to
it.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/recovery_passes_types.h')
-rw-r--r-- | fs/bcachefs/recovery_passes_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/bcachefs/recovery_passes_types.h b/fs/bcachefs/recovery_passes_types.h index 840542cfd65b..773aea9a0080 100644 --- a/fs/bcachefs/recovery_passes_types.h +++ b/fs/bcachefs/recovery_passes_types.h @@ -32,6 +32,7 @@ x(check_alloc_to_lru_refs, 15, PASS_ONLINE|PASS_FSCK) \ x(fs_freespace_init, 16, PASS_ALWAYS|PASS_SILENT) \ x(bucket_gens_init, 17, 0) \ + x(reconstruct_snapshots, 38, 0) \ x(check_snapshot_trees, 18, PASS_ONLINE|PASS_FSCK) \ x(check_snapshots, 19, PASS_ONLINE|PASS_FSCK) \ x(check_subvols, 20, PASS_ONLINE|PASS_FSCK) \ |