lkml.org 
[lkml]   [2004]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [ANNOUNCEMENT PATCH COW] proof of concept impementation of cowlinks
Date
On Thursday 06 May 2004 08:17, Jörn Engel wrote:
> Couldn't sleep last night and finished a first complete version of
> cowlinks, code-named MAD COW. It is still based on the stupid old
> design with a flag to distinguish between regular hard links and
> cowlinks. Please don't comment on that design, it's just a proof of
> concept.

Catching up on some really old mail, I thought I'd ask:

For years now I've wanted to use a sendfile variant to tell the system to
connect two filehandles from userspace. Not just web servers want to
marshall data from one filehandle into another, things like netcat want to do
it between a pipe and a network connection, and I've wrote a couple of data
dispatcher daemons that wanted to do it between two network connections.

Unfortunately, sendfile didn't work generically when I tried it (back under
2.4). Would this infrastructure be a step in the right direction to
eliminate gratuitous poll loops (where nobody but me EVER seems to get the
"shutdown just one half of the connection" thing right. My netcat can handle
"echo 'GET /' | netcat www.slashdot.org 80". The standard netcat can't.
Yes, I plan to fix the one in busybox eventually...)

Rob


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.133 / U:1.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site