]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: disable the agi rotor for metadata inodes
authorDarrick J. Wong <djwong@kernel.org>
Mon, 25 Nov 2024 21:14:17 +0000 (13:14 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:25 +0000 (18:01 -0800)
commitda7865a2310a4738e79366429832996abcd9e92e
treeae73766e87a16300ede902d084a0e52a4ec15ae4
parent1be54c6121702b5333da7c2fbe946e5ff0acfb9e
xfs: disable the agi rotor for metadata inodes

Source kernel commit: 8651b410ae781cc607159c51dbb0b317b23543b1

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>
libxfs/xfs_ialloc.c