Messages in this thread | | | From | Rob Landley <> | Subject | Re: [ANNOUNCEMENT PATCH COW] proof of concept impementation of cowlinks | Date | Wed, 12 May 2004 11:39:58 -0500 |
| |
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/
| |