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

Tao Ma
2012-09-14T11:04:35Z

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@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