diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2022-09-27 01:13:29 +0300 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-10-23 00:09:42 +0300 |
commit | 25b4b3308e3a0dd45677b6eeeea4431ee08a32c1 (patch) | |
tree | 4f82d92f05c79f93f9a5b2a133b1c584d7fecec4 /fs/bcachefs/trace.h | |
parent | c23a9e088259193dc883371cf49c99fed675e951 (diff) | |
download | linux-25b4b3308e3a0dd45677b6eeeea4431ee08a32c1.tar.xz |
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/trace.h')
0 files changed, 0 insertions, 0 deletions