summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-07-16 14:55:33 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:10:07 -0400
commita0076086da73297228665957c3b3bfac2492d67d (patch)
tree84232900739bec99a44febc8eb9ad47fec4eb571 /tools/perf/scripts/python
parent650eb16b45183c7ea7c17e56ac862dc1ad1ec849 (diff)
downloadlinux-a0076086da73297228665957c3b3bfac2492d67d.tar.gz
linux-a0076086da73297228665957c3b3bfac2492d67d.zip
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 <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions