diff options
author | 2020-02-07 17:38:15 +0800 | |
---|---|---|
committer | 2020-03-23 17:01:40 +0100 | |
commit | 7ac8b88ee668a5b4743ebf3e9888fabac85c334a (patch) | |
tree | dfe0a48874301dcd2fb156736e050982c3f9e95f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | btrfs: remove buffer_heads form super block mirror integrity checking (diff) | |
download | linux-dev-7ac8b88ee668a5b4743ebf3e9888fabac85c334a.tar.xz linux-dev-7ac8b88ee668a5b4743ebf3e9888fabac85c334a.zip |
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 <josef@toxicpanda.com>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: ethanwu <ethanwu@synology.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions