Dave Chinner ba34de8def 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>
2023-02-13 09:14:55 +11:00
..
2022-01-15 16:30:29 +02:00
2022-10-19 12:55:42 +02:00
2022-10-19 12:55:42 +02:00
2022-07-22 10:58:39 -07:00
2022-06-23 13:34:38 -07:00
2022-12-13 19:29:45 -08:00
2022-10-10 20:32:10 -07:00
2022-05-11 17:01:22 +10:00
2023-02-10 09:06:06 -08:00