Skip to content

ocfs2: two bug fixes about xattr and inline-data

Tiger Yang ocfs2-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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

Quoted 24 lines · Tao Ma

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

Quoted 14 lines · tristan.ye
Quoted 4 lines · Joel Becker
Quoted 1 line · Tiger Yang

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

Quoted 2 lines

Joel