projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ed9406
)
bcachefs: Run check_topology() first
author
Kent Overstreet
<kent.overstreet@linux.dev>
Mon, 18 Mar 2024 01:30:20 +0000
(21:30 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Mon, 18 Mar 2024 04:24:24 +0000
(
00:24
-0400)
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>
fs/bcachefs/recovery_types.h
patch
|
blob
|
history
diff --git
a/fs/bcachefs/recovery_types.h
b/fs/bcachefs/recovery_types.h
index 1361e34d4e64c2939fc0b7af8c9df9e5d9dfc7cf..4959e95e7c74654e8b3a6e78a0ea7778713bd8ba 100644
(file)
--- 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) \