Thread (10 messages) 10 messages, 3 authors, 2009-10-02

Re: Splice on blocking TCP sockets again..

From: Volker Lendecke <hidden>
Date: 2009-09-30 07:13:43

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help