[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <EE71107DF0D1F24FA2D95041E64AB9E8ED2541B66E@IL-MB01.marvell.com>
Date: Mon, 5 Jul 2010 13:52:06 +0300
From: Ofer Heifetz <oferh@...vell.com>
To: Changli Gao <xiaosuo@...il.com>
CC: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: RE: Splice status
I am using Samba, so from my understanding of the source code, it loops and performs splice(sock, pipe) and splice(pipe, fd). There is no flush of any sort in between.
When you say drain you mean to flush all data to pipe?
-Ofer
-----Original Message-----
From: Changli Gao [mailto:xiaosuo@...il.com]
Sent: Monday, July 05, 2010 12:59 PM
To: Ofer Heifetz
Cc: netdev@...r.kernel.org
Subject: Re: Splice status
On Mon, Jul 5, 2010 at 5:26 PM, Ofer Heifetz <oferh@...vell.com> wrote:
> Hi
>
> I have been trying to test splice on kernel 2.6.35_4 (x86) from Samba (v3.4.7) but could not copy more than ~60MB to the Samba server share.
>
> Strace shows that the splice got stuck in blocking mode on the splice call from socket to pipe.
>
Did you drain the pipe before calling splice(2) to move data from
socket to pipe?
--
Regards,
Changli Gao(xiaosuo@...il.com)
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists