Commit a397b8df authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Refactor overlapping extent checks



Make the overlapping extent check/repair code more self contained.

This is prep work for hopefully reducing key_visible_in_snapshot() usage
here as well, and also includes a nice performance optimization to not
check ref_visible2() unless the extents potentially overlap.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a0076086
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment