bcachefs: overlapping_extents_found()
authorKent Overstreet <kent.overstreet@linux.dev>
Thu, 13 Jul 2023 07:11:16 +0000 (03:11 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:07 +0000 (17:10 -0400)
commit43b81a4eaca01ef13293d139670981cc4da18d3c
tree8a7d80bd8dbf09af16efda6b0ce234b2ec57650c
parentf9f52bc4f0342ddc68690ebdc581eedfbd4a9c6b
bcachefs: overlapping_extents_found()

This improves the repair path for overlapping extents - we now verify
that we find in the btree the overlapping extents that the algorithm
detected, and fail the fsck run with a more useful error if it doesn't
match.

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