]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
mkfs: allow sizing allocation groups for concurrency
authorDarrick J. Wong <djwong@kernel.org>
Mon, 15 Apr 2024 23:07:47 +0000 (16:07 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 17 Apr 2024 21:06:27 +0000 (14:06 -0700)
commit9338bc8b1bf07379cf789760c06c430c9132bcc5
tree0801116c1b8af5139e6c1d7f7fcca5cbecf013da
parent53bf0604e104bc053778495faef94b3570582aac
mkfs: allow sizing allocation groups for concurrency

Add a -d concurrency= option to mkfs so that sysadmins can configure the
filesystem so that there are enough allocation groups that the specified
number of threads can (in theory) can find an uncontended group to
allocate space from.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bill O'Donnell <bodonnel@redhat.com>
man/man8/mkfs.xfs.8.in
mkfs/xfs_mkfs.c