Re: [patch] sendpath() support, 2.4.0-test3/-ac9

2001-01-16 Thread dean gaudet
On Tue, 16 Jan 2001, Ingo Molnar wrote: > > On Mon, 15 Jan 2001, dean gaudet 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 s

Re: [patch] sendpath() support, 2.4.0-test3/-ac9

2001-01-16 Thread Ingo Molnar
On Mon, 15 Jan 2001, dean gaudet 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

Re: [patch] sendpath() support, 2.4.0-test3/-ac9

2001-01-15 Thread Linus Torvalds
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(

Re: [patch] sendpath() support, 2.4.0-test3/-ac9

2001-01-15 Thread dean gaudet
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 progres

[patch] sendpath() support, 2.4.0-test3/-ac9

2001-01-15 Thread Ingo Molnar
On 15 Jan 2001, Linus Torvalds wrote: > int fd = open(..) > fstat(fd..); > sendfile(fd..); > close(fd); > > is any slower than > > .. cache stat() in user space based on name .. > sendpath(name, ..); > > on any real load. just for kicks i've implemented sendp