]> www.infradead.org Git - users/hch/xfs.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, 2 Oct 2024 01:10:50 +0000 (18:10 -0700)
commit8c4ba2ed307badbc03b3ddd1e96d3783e53b9dd9
tree35ca40bd93031dbad554e9595c39b72f02441c0d
parent5de6c768ed9e06363f12a3102af818ceba223ae5
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