Commit 25b4b330 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Inline fast path of check_pos_snapshot_overwritten()



This moves the slowpath of check_pos_snapshot_overwritten() to a
separate function, and inlines the fast path - helping performance on
btrees that don't use snapshot and for users that aren't using
snapshots.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent c23a9e08
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