Re: sendfile(2) is broken (Was: ftpd problem: Input/output error)

2002-08-12 Thread Maxim Konovalov
On 03:37+0700, Aug 12, 2002, Semen A. Ustimenko wrote: Hi! On Sun, 11 Aug 2002, Robert Watson wrote: On Sun, 11 Aug 2002, Maxim Konovalov wrote: This is sendfile(2) mis-behaviour arised after rev.1.109 sys/kern/uipc_syscalls.c but I think the real problem in vn_rdwr(),

Re: sendfile(2) is broken (Was: ftpd problem: Input/output error)

2002-08-12 Thread Bruce Evans
On Mon, 12 Aug 2002, Maxim Konovalov wrote: On 03:37+0700, Aug 12, 2002, Semen A. Ustimenko wrote: David reviewed the patch and I have committed it few minutes ago. Looks like a hack BDE is speaking about: passing a storage for residue but never check it. See another reply about this.

sendfile(2) is broken (Was: ftpd problem: Input/output error)

2002-08-11 Thread Maxim Konovalov
Hello, On 14:43+0100, Aug 10, 2002, Gavin Atkinson wrote: Hi, For a few months now I have been seeing the following problems with the ftpd in current. When transferring a large file, ftpd seems to consistantly fail after almost all of the file hass been transferred. The example

Re: sendfile(2) is broken (Was: ftpd problem: Input/output error)

2002-08-11 Thread Bruce Evans
On Sun, 11 Aug 2002, Maxim Konovalov wrote: This is sendfile(2) mis-behaviour arised after rev.1.109 sys/kern/uipc_syscalls.c but I think the real problem in vn_rdwr(), sys/kern/vfs_vnops.c. Here is my patch but I really need somebody with vfs clue. I CC'ed Robert Watson as an author of

Re: sendfile(2) is broken (Was: ftpd problem: Input/output error)

2002-08-11 Thread Robert Watson
On Sun, 11 Aug 2002, Maxim Konovalov wrote: This is sendfile(2) mis-behaviour arised after rev.1.109 sys/kern/uipc_syscalls.c but I think the real problem in vn_rdwr(), sys/kern/vfs_vnops.c. Here is my patch but I really need somebody with vfs clue. I CC'ed Robert Watson as an author of

Re: sendfile(2) is broken (Was: ftpd problem: Input/output error)

2002-08-11 Thread Semen A. Ustimenko
Hi! On Sun, 11 Aug 2002, Robert Watson wrote: On Sun, 11 Aug 2002, Maxim Konovalov wrote: This is sendfile(2) mis-behaviour arised after rev.1.109 sys/kern/uipc_syscalls.c but I think the real problem in vn_rdwr(), sys/kern/vfs_vnops.c. Here is my patch but I really need somebody with