Re: [PATCH 02/13] mkfs: fix log sunit rounding when external logs are in use

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

 



On Tue, Mar 12, 2024 at 06:50:10PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <djwong@xxxxxxxxxx>
> 
> Due to my heinous nature, I set up an external log device with 4k LBAs
> using this command:
> 
> # losetup -b 4096 -o 4096 --sizelimit $(( (128 * 1048576) - 4096 )) -f /dev/sdb
> # blockdev --getsize64 /dev/loop0
> 134213632
> 
> This creates a log device that is slightly smaller than 128MB in size.
> Next I ran generic/054, which sets the log sunit to 256k and fails:

Can we wire this exact mkfs command line up as an xfstests instead of
requiring a very unused setup to trigger it with the existing test?

The xfstests patch itself looks good:

Reviewed-by: Christoph Hellwig <hch@xxxxxx>




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux