xfs
[Top] [All Lists]

Re: [PATCH] mkfs.xfs: don't increase agblocks past maximum

To: Eric Sandeen <sandeen@xxxxxxxxxx>
Subject: Re: [PATCH] mkfs.xfs: don't increase agblocks past maximum
From: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Date: Tue, 20 Sep 2011 16:30:40 -0400
Cc: xfs-oss <xfs@xxxxxxxxxxx>, Boris Ranto <branto@xxxxxxxxxx>
In-reply-to: <4E77B7E2.6020805@xxxxxxxxxx>
References: <4E77B7E2.6020805@xxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
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.

<Prev in Thread] Current Thread [Next in Thread>