2009-05-13 10:50:18

by Suresh Jayaraman

[permalink] [raw]
Subject: Re: NFS write OOPS with 2.6.29.2

Trond Myklebust wrote:
> On Mon, 2009-05-11 at 12:45 +0000, Holger Kiehl wrote:
>> On Mon, 11 May 2009, Trond Myklebust wrote:
>>>
>> Thanks! Now it works. One more problem I have is with splice(). My
>> application reports the following error:
>>
>> splice() error : Invalid argument
>>
>> When it is called as follows:
>>
>> if ((bytes_written = splice(fd_pipe[0], NULL, to_fd,
>> NULL, bytes_read,
>> SPLICE_F_MOVE | SPLICE_F_MORE)) == -1)
>>
>> Or may I not use splice() over NFS?
>
> The read part is there, but the write part is still missing (just an
> oversight - implementing it is pretty trivial). I'm planning on fixing
> that for 2.6.31.
>

Did my latest respun look OK?

http://lkml.org/lkml/2009/4/22/70


Thanks,

--
Suresh Jayaraman