Skip to content

Commit af855a5

Browse files
author
Kent Overstreet
committed
bcachefs: Resume logged ops after fsck
Finishing logged ops requires the filesystem to be in a reasonably consistent state - and other fsck passes don't require it to have completed, so just run it last. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent e5aa804 commit af855a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fs/bcachefs/recovery_passes_types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
x(check_subvol_children, 35, PASS_ONLINE|PASS_FSCK) \
3838
x(delete_dead_snapshots, 21, PASS_ONLINE|PASS_FSCK) \
3939
x(fs_upgrade_for_subvolumes, 22, 0) \
40-
x(resume_logged_ops, 23, PASS_ALWAYS) \
4140
x(check_inodes, 24, PASS_FSCK) \
4241
x(check_extents, 25, PASS_FSCK) \
4342
x(check_indirect_extents, 26, PASS_FSCK) \
@@ -47,6 +46,7 @@
4746
x(check_subvolume_structure, 36, PASS_ONLINE|PASS_FSCK) \
4847
x(check_directory_structure, 30, PASS_ONLINE|PASS_FSCK) \
4948
x(check_nlinks, 31, PASS_FSCK) \
49+
x(resume_logged_ops, 23, PASS_ALWAYS) \
5050
x(delete_dead_inodes, 32, PASS_FSCK|PASS_UNCLEAN) \
5151
x(fix_reflink_p, 33, 0) \
5252
x(set_fs_needs_rebalance, 34, 0) \

0 commit comments

Comments
 (0)