aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2022-07-14 12:02:46 +1000
committerDave Chinner <david@fromorbit.com>2022-07-14 12:02:46 +1000
commitde67dc575434dca8d60b1e181ed5dd296392ffce (patch)
tree7cbd0f2e80bd660b3875ea40015950f1c78da36b /tools/perf/scripts/python/check-perf-trace.py
parent85c73bf726e41be276bcad3325d9a8aef10be289 (diff)
xfs: break up xfs_buf_find() into individual pieces
xfs_buf_find() is made up of three main parts: lookup, insert and locking. The interactions with xfs_buf_get_map() require it to be called twice - once for a pure lookup, and again on lookup failure so the insert path can be run. We want to simplify this down a lot, so split it into a fast path lookup, a slow path insert and a "lock the found buffer" helper. This will then let us integrate these operations more effectively into xfs_buf_get_map() in future patches. Signed-off-by: Dave Chinner <dchinner@redhat.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions