[Top] [All Lists]

Re: [PATCH 0/5, v3] repair: sector size and blkmap fixes

To: Christoph Hellwig <hch@xxxxxxxxxxxxx>
Subject: Re: [PATCH 0/5, v3] repair: sector size and blkmap fixes
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Tue, 11 Oct 2011 10:12:14 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <20111010141825.GF31429@xxxxxxxxxxxxx>
References: <1318208915-14975-1-git-send-email-david@xxxxxxxxxxxxx> <20111010141825.GF31429@xxxxxxxxxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Mon, Oct 10, 2011 at 10:18:25AM -0400, Christoph Hellwig wrote:
> Any chance we can get some coverage for the losts of extents cases
> in xfstests?  It will probably require pre-created images, but I'd
> really hate not beeing able to regression test this.

Test 042 creates files with a lot of extents, but we don't have
coverage of extent countsin the hundreds of thousands or greater.
I can put together a simple test to do it using preallocation and/or
hole punching, though I'm not sure what the runtime will be.

Given we assume we have at least 10GB on the scratch device, I can
easily create a couple of million extent files on a 4k block size
filesystem for repair/db to walk....


Dave Chinner

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