diff options
| author | Kent Overstreet <[email protected]> | 2023-07-16 14:55:33 -0400 |
|---|---|---|
| committer | Kent Overstreet <[email protected]> | 2023-10-22 17:10:07 -0400 |
| commit | a0076086da73297228665957c3b3bfac2492d67d (patch) | |
| tree | 84232900739bec99a44febc8eb9ad47fec4eb571 /tools/perf/scripts/python | |
| parent | 650eb16b45183c7ea7c17e56ac862dc1ad1ec849 (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