bcachefs: Improve pointer marking checks and error messages
authorKent Overstreet <kent.overstreet@gmail.com>
Thu, 29 Aug 2019 15:34:01 +0000 (11:34 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:08:26 +0000 (17:08 -0400)
commit06ab329c150f9eebc68cdb156a9591084b16ec55
tree7cf7e4c4744f1e78cfbe3c25136054e82f898cdc
parentad7e137ebc3dcadbaa37d2f464728c915e039e1d
bcachefs: Improve pointer marking checks and error messages

Importantly, we don't want to use bch2_fs_inconsistent_on() for errors
that fsck can repair, becuase that will just put us in RO mode and
prevent fsck from actually fixing stuff. Probably want to get rid of it
in the future.

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