mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
a5296288d6
If test on a 512b sector size device, xfs/032 will try to do: mkfs.xfs -s size=512 -b size=512 ... The 512b block size is not acceptable for V5 XFS. So if mkfs.xfs fails, try next block size (blksize *= 2) directly. Signed-off-by: Zorro Lang <zlang@redhat.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Eryu Guan <eguan@redhat.com>