[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <E1Mssmb-004RJz-Hf@intern.SerNet.DE>
Date: Wed, 30 Sep 2009 08:37:13 +0200
From: Volker Lendecke <Volker.Lendecke@...Net.DE>
To: Jason Gunthorpe <jgunthorpe@...idianresearch.com>
Cc: Eric Dumazet <eric.dumazet@...il.com>, netdev@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Volker Lendecke <vl@...ba.org>
Subject: Re: Splice on blocking TCP sockets again..
On Tue, Sep 29, 2009 at 06:48:20PM -0600, Jason Gunthorpe wrote:
> FWIW, it looks like samba has a splice code now, but doesn't enable it
> due to this issue?
Right. What I've learned from the comments is that splice is
only usable in multi-threaded programs. One thread is
reading, one is writing from the other end. I deferred using
splice until we have the proper architecture to do sync
syscalls in helper threads to make them virtually async. We
have some code for that now, but it's not a high priority
for me at this moment.
Volker
Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists