xfs
[Top] [All Lists]

Re: [PATCH] xfstests: make 275 xfs specific.

To: Eric Sandeen <sandeen@xxxxxxxxxxx>
Subject: Re: [PATCH] xfstests: make 275 xfs specific.
From: Tao Ma <tm@xxxxxx>
Date: Fri, 14 Sep 2012 19:05:39 +0800
Cc: xfs@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tao.ma; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=NsaxCHnsHPIHRUf9Hlu6RxOK10UpHanUQJoQIJwOVIk=; b=Ss4au1uwe5Aqt2g2ssH9nrbChcD9EM9wvCRK66viCszNupt8qY9BdJh5Iq87xJK4wewhSciEewA3BFSWO3zB15/aZPJV87A0L8/0ZhxO3C/TMQsniDeNOb2uxwXL3XlW;
In-reply-to: <504EA0C2.2060601@xxxxxxxxxxx>
References: <1336230429-2939-1-git-send-email-tm@xxxxxx> <20120505233744.GE25351@dastard> <4FA692B7.9040006@xxxxxx> <504A511A.8090209@xxxxxxxxxxx> <504EA0C2.2060601@xxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0
On 09/11/2012 10:24 AM, Eric Sandeen wrote:
> On 9/7/12 2:55 PM, Eric Sandeen wrote:
>> On 5/6/12 10:03 AM, Tao Ma wrote:
>>> On 05/06/2012 07:37 AM, Dave Chinner wrote:
>>>> On Sat, May 05, 2012 at 11:07:09PM +0800, Tao Ma wrote:
>>>>> From: Tao Ma <boyu.mt@xxxxxxxxxx>
>>>>>
>>>>> In my test with ext4, 275 can't pass because ext4
>>>>> can create a 8k file in the end not like what xfs
>>>>> does. So make this test case xfs only for now.
>>>>
>>>> It's not an XFS specific test - it's a test that is supposed to test
>>>> POSIX write behaviour. i.e. if the filesystem is full, and then you
>>>> free 4k of space, then an 8k write should only be able to write 4k,
>>>> yes?
>>> Yes, but it doesn't work as expected for ext4.
>>
>> Came across this thread again.  I had patches on the list a while ago
>> to fix it up.
>>
>> [PATCH V2] xfstests: make 275 pass
>>
>> But it never got fully reviewed or merged.   :(
> 
> It's reviewed & merged now.  Does it fix things for you?  (I hope?)
No, but much better.
It removes "lost+found" after mkfs, so the fsck will complain about it.

So I have created the corresponding patch for it, and now the test case
pass. Please see my patch "xfstests: 275, Don't remove all the files in
SCRATCH_MNT".


Thanks
Tao

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