]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: allow sizing realtime allocation groups for concurrency
authorDarrick J. Wong <djwong@kernel.org>
Thu, 16 Jan 2025 21:22:05 +0000 (13:22 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Thu, 16 Jan 2025 21:27:27 +0000 (13:27 -0800)
commit34738ff0ee80de73c4fd3078a89a7bef39be46b6
treee55f92d1f60a625c01683c313db656699bc23c32
parente1d3ce600d70b20b779cb2cc872212c66f550ac8
mkfs: allow sizing realtime allocation groups for concurrency

Add a -r concurrency= option to mkfs so that sysadmins can configure the
filesystem so that there are enough rtgroups that the specified number
of threads can (in theory) can find an uncontended rtgroup from which to
allocate space.  This has the exact same purpose as the -d concurrency
switch that was added for the data device.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
man/man8/mkfs.xfs.8.in
mkfs/xfs_mkfs.c