summaryrefslogtreecommitdiff
path: root/fs/bcachefs/alloc_foreground.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2022-09-26 18:13:29 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2022-10-03 23:55:38 -0400
commitd203c9538c5f42cda814e8a9f01355613fb8c7cc (patch)
tree195ad3839372f4db3cc6432716e8d722bcbd5e99 /fs/bcachefs/alloc_foreground.c
parent2eaede1e57add15c0590046786b056b42fb36e1e (diff)
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: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_foreground.c')
0 files changed, 0 insertions, 0 deletions