]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: allow users to configure the desired maximum atomic write size
authorDarrick J. Wong <djwong@kernel.org>
Tue, 1 Jul 2025 17:45:14 +0000 (10:45 -0700)
committerAndrey Albershteyn <aalbersh@kernel.org>
Fri, 18 Jul 2025 14:05:10 +0000 (16:05 +0200)
commit3423827c2ed31164aec06168b6ff86fdfae6d170
tree9588bee277de1a6fd3e309d560dc679ca6dbcbde
parentb245cf32529350a593454389f652e8df1d421752
mkfs: allow users to configure the desired maximum atomic write size

Allow callers of mkfs.xfs to specify a desired maximum atomic write
size.  This value will cause the log size to be adjusted to support
software atomic writes, and the AG size to be aligned to support
hardware atomic writes.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
include/bitops.h
libxfs/libxfs_api_defs.h
man/man8/mkfs.xfs.8.in
mkfs/xfs_mkfs.c