]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
xfs: disable the agi rotor for metadata inodes
authorDarrick J. Wong <djwong@kernel.org>
Mon, 4 Nov 2024 04:18:52 +0000 (20:18 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 5 Nov 2024 21:38:31 +0000 (13:38 -0800)
commit8651b410ae781cc607159c51dbb0b317b23543b1
treee58e8ac1b7b84d8bc3acbb841345965d15d1533b
parent5d9b54a4ef34380aeba844a59e60abb7c65a7ff7
xfs: disable the agi rotor for metadata inodes

Ideally, we'd put all the metadata inodes in one place if we could, so
that the metadata all stay reasonably close together instead of
spreading out over the disk.  Furthermore, if the log is internal we'd
probably prefer to keep the metadata near the log.  Therefore, disable
AGI rotoring for metadata inode allocations.

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