aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJosef Bacik <[email protected]>2014-03-19 13:35:14 -0400
committerChris Mason <[email protected]>2014-03-21 15:28:09 -0700
commit4485386853454f184235c8a973b29fa7fa522eb1 (patch)
tree6f0569ba8c5f10bc047f9e7326f18eae56edfe78 /tools/perf/scripts/python/event_analyzing_sample.py
parentbfa7e1f8be4bd7118e485a42cc8889530d415d05 (diff)
Btrfs: take into account total references when doing backref lookup
I added an optimization for large files where we would stop searching for backrefs once we had looked at the number of references we currently had for this extent. This works great most of the time, but for snapshots that point to this extent and has changes in the original root this assumption falls on it face. So keep track of any delayed ref mods made and add in the actual ref count as reported by the extent item and use that to limit how far down an inode we'll search for extents. Thanks, Reportedy-by: Hugo Mills <[email protected]> Signed-off-by: Josef Bacik <[email protected]> Reported-by: Hugo Mills <[email protected]> Tested-by: Hugo Mills <[email protected]> Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions