[PATCH] xfstests: make 275 xfs specific.

Tao Ma tm at tao.ma
Fri Sep 14 06:05:39 CDT 2012


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 at taobao.com>
>>>>>
>>>>> 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



More information about the xfs mailing list