diff options
author | 2023-02-13 09:14:55 +1100 | |
---|---|---|
committer | 2023-02-13 09:14:55 +1100 | |
commit | ba34de8defe013e4062bdc2ed57d748d6807a96a (patch) | |
tree | 7598588ee216ee7a99dadc94928f3d63343d4b9c /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | xfs: merge filestream AG lookup into xfs_filestream_select_ag() (diff) | |
download | wireguard-linux-ba34de8defe013e4062bdc2ed57d748d6807a96a.tar.xz wireguard-linux-ba34de8defe013e4062bdc2ed57d748d6807a96a.zip |
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 <dchinner@redhat.com>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions