[PATCH] mkfs.xfs: don't increase agblocks past maximum
Christoph Hellwig
hch at infradead.org
Tue Sep 20 15:30:40 CDT 2011
On Mon, Sep 19, 2011 at 04:45:06PM -0500, Eric Sandeen wrote:
> RH QA discovered this bug:
>
> Steps to Reproduce:
> 1. Create 4 TB - 1 B partition
> dd if=/dev/zero of=x.img bs=1 count=0 seek=4398046511103
> 2. Create xfs fs with 512 B block size on the partition
> mkfs.xfs -b size=512 xfs.img
Can we please get this into xfstests, just doing the mkfs on a
sparse file should be enough.
More information about the xfs
mailing list