[Ocfs2-devel] [PATCH 0/2] ocfs2: two bug fixes about xattr and inline-data

Tiger Yang tiger.yang at oracle.com
Mon Mar 9 00:24:11 PDT 2009


Hi,

I think Tristan's test script could catch these two bugs against 
mainline. He didn't run his test script in mainline yet.

bug1:
Just create a file in a directory which has default ACLs.

bug2:
1. touch a file in a file system which blocksize large than 512.
2. set xattr in it.
3. write i_size > (MAX_INLINE_SIZE - 256).
then you can find the inline data overwrite the xattr in inode.

thanks,
tiger

Tao Ma wrote:
> Hi Tiger,
>     so could you please describe how to reproduce these 2 bugs step by 
> step? It would be easy for tristan to code them down and add them to the 
> test case. And also we all can see whether we can reproduce them in our 
> own env.
> 
> Regards,
> Tao
> 
> tristan.ye wrote:
>> On Sun, 2009-03-08 at 23:47 -0700, Joel Becker wrote:
>>> On Mon, Mar 09, 2009 at 02:35:36PM +0800, Tiger Yang wrote:
>>>> I found these two bugs in latest mainline kernel not other branch.
>>>     The bugs should still be in cacheme - cacheme doesn't change
>>> the inline data code.
>>
>> Fairly strange, I've already done the tests on cacheme branch, no such
>> bugs happened to me...
>>
>> Tristan
>>
>>> Joel
>>>
>>



More information about the Ocfs2-devel mailing list