diff options
author | ethanwu <[email protected]> | 2020-02-07 17:38:15 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-03-23 17:01:40 +0100 |
commit | 7ac8b88ee668a5b4743ebf3e9888fabac85c334a (patch) | |
tree | dfe0a48874301dcd2fb156736e050982c3f9e95f /tools/perf/scripts/python/syscall-counts-by-pid.py | |
parent | 9da2b242e21689514a5aaf27c8f4e7531c671543 (diff) |
btrfs: backref, only collect file extent items matching backref offset
When resolving one backref of type EXTENT_DATA_REF, we collect all
references that simply reference the EXTENT_ITEM even though their
(file_pos - file_extent_item::offset) are not the same as the
btrfs_extent_data_ref::offset we are searching for.
This patch adds additional check so that we only collect references whose
(file_pos - file_extent_item::offset) == btrfs_extent_data_ref::offset.
Reviewed-by: Josef Bacik <[email protected]>
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: ethanwu <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions