aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2023-02-13 09:14:55 +1100
committerDave Chinner <[email protected]>2023-02-13 09:14:55 +1100
commitba34de8defe013e4062bdc2ed57d748d6807a96a (patch)
tree7598588ee216ee7a99dadc94928f3d63343d4b9c /tools/perf/scripts/python/stackcollapse.py
parenta52dc2ad363088d0e0ab05a71f0496e2377e5cc9 (diff)
xfs: merge new filestream AG selection into xfs_filestream_select_ag()
This is largely a wrapper around xfs_filestream_pick_ag() that repeats a lot of the lookups that we just merged back into xfs_filestream_select_ag() from the lookup code. Merge the xfs_filestream_new_ag() code back into _select_ag() to get rid of all the unnecessary logic. Indeed, this makes it obvious that if we have no parent inode, the filestreams allocator always selects AG 0 regardless of whether it is fit for purpose or not. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions