]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bcachefs: Make topology errors autofix
authorKent Overstreet <kent.overstreet@linux.dev>
Mon, 25 Nov 2024 02:28:07 +0000 (21:28 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sat, 21 Dec 2024 06:36:20 +0000 (01:36 -0500)
commit124e108185dccf7cc1bb159501ea7fea59350218
tree327e5edca7c30104dc0d86644a9558c3ab3ef94d
parenta6f4794fcd8627638153614193b3b81f37a28175
bcachefs: Make topology errors autofix

These repair paths are well tested, we can repair them without explicit
user intervention

This also tweaks bch2_topology_error() so that we run topology repair if
we're in recovery, not just fsck.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_gc.c
fs/bcachefs/recovery.c
fs/bcachefs/sb-errors_format.h