[Ocfs2-devel] [PATCH 4/4] ocfs2-1.6: add splice read/write support

Tao Ma tao.ma at oracle.com
Sun Mar 14 23:32:25 PDT 2010



Tiger Yang wrote:
> Tao Ma wrote:
>>> +void pipe_wait(struct pipe_inode_info *pipe)
>> I just see that el5 already has splice support, see 
>> http://www.redhat.com/rhel/features/
>>
>> So we still need to copy these functions back? At least in el5u2, I 
>> see these functions like pipe_wait, pipe_to_file etc.
> 
> Yes. We need copy these functions because they are not exported by the 
> kernel of el5.
> 
> Because the struct splice_desc has been changed since 2.6.30, it it 
> difficult to back port the latest code in mainline. So I chose the 
> splice code in 2.6.29 for back porting. I hope the latest code before 
> change are more stable and efficient.
oh, I see. I just checked the source code in 1.4. Thanks for the 
explanation.

Regards,
Tao



More information about the Ocfs2-devel mailing list