diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-17 21:30:20 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2024-03-18 00:24:24 -0400 |
commit | 8d347a55459f89c8c9685288bc2e5d82c3bdd0f0 (patch) | |
tree | e70648099d299cb27ef5cd342a5f09417212e21c /fs | |
parent | 3ed94062e3801e3fd9924ccd54b607abf58cc223 (diff) |
bcachefs: Run check_topology() first
check_topology() doesn't actually require alloc info - and running it
first means other passes don't have to catch btree read errors.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/bcachefs/recovery_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/recovery_types.h b/fs/bcachefs/recovery_types.h index 1361e34d4e64..4959e95e7c74 100644 --- a/fs/bcachefs/recovery_types.h +++ b/fs/bcachefs/recovery_types.h @@ -13,11 +13,11 @@ * must never change: */ #define BCH_RECOVERY_PASSES() \ + x(check_topology, 4, 0) \ x(alloc_read, 0, PASS_ALWAYS) \ x(stripes_read, 1, PASS_ALWAYS) \ x(initialize_subvolumes, 2, 0) \ x(snapshots_read, 3, PASS_ALWAYS) \ - x(check_topology, 4, 0) \ x(check_allocations, 5, PASS_FSCK) \ x(trans_mark_dev_sbs, 6, PASS_ALWAYS|PASS_SILENT) \ x(fs_journal_alloc, 7, PASS_ALWAYS|PASS_SILENT) \ |