]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: make the RT allocator rtgroup aware
authorChristoph Hellwig <hch@lst.de>
Mon, 23 Sep 2024 20:41:35 +0000 (13:41 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 9 Oct 2024 23:29:12 +0000 (16:29 -0700)
commit0f49db2ef0010065c7f0f36db61e51efa2d400bd
treebd22d69cffc23aacce81c47c08f737e814915b0d
parent9c1d30b2ffd0b44183327f7845a8586143560e54
xfs: make the RT allocator rtgroup aware

Make the allocator rtgroup aware by either picking a specific group if
there is a hint, or loop over all groups otherwise.  A simple rotor is
provided to pick the placement for initial allocations.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
libxfs/xfs_bmap.c
libxfs/xfs_rtbitmap.c