aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-07-16 14:55:33 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:10:07 -0400
commita0076086da73297228665957c3b3bfac2492d67d (patch)
tree84232900739bec99a44febc8eb9ad47fec4eb571 /tools/perf/scripts/python
parent650eb16b45183c7ea7c17e56ac862dc1ad1ec849 (diff)
bcachefs: check_extent(): don't use key_visible_in_snapshot()
This changes the main part of check_extents(), that checks the extent against the corresponding inode, to not use key_visible_in_snapshot(). key_visible_in_snapshot() has to iterate over the list of ancestor overwrites repeatedly calling bch2_snapshot_is_ancestor(), so this is a significant performance improvement. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions