]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: try to align AG size based on atomic write capabilities
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)
commitb245cf32529350a593454389f652e8df1d421752
treef51e0019b3692869ff7232eb30f6776f49505018
parent5015906cf669607697cd8a6d02b3654581fe65f3
mkfs: try to align AG size based on atomic write capabilities

Try to align the AG size to the maximum hardware atomic write unit so
that we can give users maximum flexibility in choosing an RWF_ATOMIC
write size.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: John Garry <john.g.garry@oracle.com>
libxfs/topology.c
libxfs/topology.h
mkfs/xfs_mkfs.c