Re: [PATCH] xfs/032: avoid making a 512b block size V5 xfs

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



On Tue, Sep 27, 2016 at 11:23:35PM +0800, Zorro Lang wrote:
> 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 I change the
> minimum block size to 1024 if (crc = 1 && sector size < 1024).

Why so complex?

The output of the test is empty, so if mkfs.xfs fails with the given
configuration then just skip the loop iteration and run the next
size.

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe fstests" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux