]> www.infradead.org Git - users/dwmw2/linux.git/commit
xfs: make the RT allocator rtgroup aware
authorChristoph Hellwig <hch@lst.de>
Mon, 4 Nov 2024 04:19:29 +0000 (20:19 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:42 +0000 (13:38 -0800)
commitd162491c5459f4dd72e65b72a2c864591668ec07
treeeaab16b130ccdb2ed5b62bd1285be87fcec7d85d
parentb91afef724710e3dc7d65a28105ffd7a4e861d69
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>
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_rtbitmap.c
fs/xfs/xfs_mount.h
fs/xfs/xfs_rtalloc.c