On Mon, 15 Jan 2001, dean gaudet wrote: > On Mon, 15 Jan 2001, Ingo Molnar wrote: > > > just for kicks i've implemented sendpath() support. > > > > _syscall4 (int, sendpath, int, out_fd, char *, path, off_t *, off, size_t, size) > > hey so how do you implement transmit timeouts with sendpath() ? (i.e. > drop the client after 30 seconds of no progress.) The whole "sendpath()" idea is just stupid. You want to do a non-blocking send, so that you don't block on the socket, and do some simple multiplexing in your server. And "sendpath()" cannot do that without having to look up the name again, and again, and again. Which makes the performance "optimization" a horrible pessimisation. Basically, sendpath() seems to be only useful for blocking and uninterruptible file sending. Bad design. I'm not touching it with a ten-foot pole. Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- RE: Is sendfile all that sexy? Tristan Greaves
- Re: Is sendfile all that sexy? Dan Hollis
- Re: Is sendfile all that sexy? Jonathan Thackray
- Re: Is sendfile all that sexy? Matti Aarnio
- Re: Is sendfile all that sexy? H. Peter Anvin
- Re: Is sendfile all that sexy? dean gaudet
- Re: Is sendfile all that sexy? Jonathan Thackray
- Re: Is sendfile all that sexy? Linus Torvalds
- [patch] sendpath() support, 2.4.0-test3... Ingo Molnar
- Re: [patch] sendpath() support, 2.... dean gaudet
- 'native files', 'object fingerprin... Linus Torvalds
- 'native files', 'object fingerprin... Ingo Molnar
- Re: 'native files', 'object finger... Andi Kleen
- Re: 'native files', 'object finger... Ingo Molnar
- Re: 'native files', 'object finger... Andi Kleen
- O_ANY [was: Re: 'native files', '... Ingo Molnar
- Re: O_ANY [was: Re: 'native files... Ingo Molnar
- Re: O_ANY [was: Re: 'native files... Peter Samuelson
- Re: O_ANY [was: Re: 'native files... Ingo Molnar
- Re: O_ANY [was: Re: 'native files... Felix von Leitner
- Re: O_ANY [was: Re: 'native files... Andi Kleen