]> git.apps.os.sepia.ceph.com Git - xfsprogs-dev.git/commit
mkfs: allow sizing internal logs 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)
commitc02a18733fc0a0e1b607f75e90962b3adc27c8fa
treef7182fefe0edaaf98e4acc289a5592473fdefc2a
parent9338bc8b1bf07379cf789760c06c430c9132bcc5
mkfs: allow sizing internal logs for concurrency

Add a -l option to mkfs so that sysadmins can configure the filesystem
so that the log can handle a certain number of transactions (front and
backend) without any threads contending for log grant space.

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