]> www.infradead.org Git - users/hch/xfsprogs.git/commit
xfs: make the RT allocator rtgroup aware
authorChristoph Hellwig <hch@lst.de>
Wed, 7 Aug 2024 23:04:38 +0000 (16:04 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sat, 10 Aug 2024 06:54:50 +0000 (23:54 -0700)
commiteae4552f09e25015a872a2f252c6388f95e6a4dd
treec05fe71306fcdd50a7b497654a5c982c17c1b1c3
parent0a0de09c27c6df457cb000d5be4172d98443ac9e
xfs: make the RT allocator rtgroup aware

Source kernel commit: 48429f5e97276b8b99a938136db513851bf04ad3

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