Re: [Ocfs2-devel] [PATCH 1/2] ocfs2: xattr: fix inlined xattr reflink

2013-06-20 Thread Junxiao Bi
Hi Jeff, On 06/20/2013 05:01 PM, Jeff Liu wrote: > Hi Junxiao, > > On 06/20/2013 02:17 PM, Junxiao Bi wrote: > >> Inlined xattr shared free space of inode block with inlined data >> or data extent record, so the size of the later two should be >> adjusted when inlined xattr is enabled. See ocfs2_x

Re: [Ocfs2-devel] [PATCH 1/2] ocfs2: xattr: fix inlined xattr reflink

2013-06-20 Thread Jeff Liu
Hi Junxiao, On 06/20/2013 02:17 PM, Junxiao Bi wrote: > Inlined xattr shared free space of inode block with inlined data > or data extent record, so the size of the later two should be > adjusted when inlined xattr is enabled. See ocfs2_xattr_ibody_init(). > But this isn't done well when reflink.

[Ocfs2-devel] [PATCH 1/2] ocfs2: xattr: fix inlined xattr reflink

2013-06-19 Thread Junxiao Bi
Inlined xattr shared free space of inode block with inlined data or data extent record, so the size of the later two should be adjusted when inlined xattr is enabled. See ocfs2_xattr_ibody_init(). But this isn't done well when reflink. For inode with inlined data, its max inlined data size is adjus