Searched hist:ba34de8defe013e4062bdc2ed57d748d6807a96a (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/xfs/ |
H A D | xfs_filestream.c | diff ba34de8defe013e4062bdc2ed57d748d6807a96a Sun Feb 12 16:14:55 CST 2023 Dave Chinner <dchinner@redhat.com> 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>
|