]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
mkfs: autodetect log stripe unit for external log devices
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)
commit5015906cf669607697cd8a6d02b3654581fe65f3
tree66ae091a2a4de68e328fe61724c015a974d65518
parent875e57e81ce4293c02d8490bd2fcae8c6de6445a
mkfs: autodetect log stripe unit for external log devices

If we're using an external log device and the caller doesn't give us a
lsunit, use the block device geometry (if present) to set it.

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