]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: test that mkfs creates zone-aligned RT devices
authorChristoph Hellwig <hch@lst.de>
Fri, 19 Dec 2025 05:35:46 +0000 (06:35 +0100)
committerZorro Lang <zlang@kernel.org>
Wed, 31 Dec 2025 20:59:50 +0000 (04:59 +0800)
commit7e972aff4801afb44b9faea4a7598a311b887fc0
tree7b4babeadc6f9fa6fbc1131d31edf14be64aafe7
parent960384aa2c46622dc0048f417a18be2d09166f83
xfs: test that mkfs creates zone-aligned RT devices

Make sure mkfs doesn't create unmountable file systems and instead rounds
down the RT subvolume size to a multiple of the zone size.

Two passes: one with a device that is not aligned, and one for an
explicitly specified unaligned RT device size.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Darrick J. Wong <djwong@kernel.org>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/xfs/653 [new file with mode: 0755]
tests/xfs/653.out [new file with mode: 0644]